Hi there,
I have succesfully created a config file for a fuseki server, popupated a TDB
text dataset using lucene with a few millions triples.
Now I d'like to use an external solr server to customize the way fields are
indexed and also use the solr server to fother functions (autocomplete,…)
Let's say I have the following lines in my assembler:
<#entMap> a text:EntityMap ;
text:entityField "uri" ;
text:defaultField "text" ; ## Should be defined in the text:map.
text:map (
[ text:field "text" ; text:predicate pred:name ]
[ text:field "active_site" ; text:predicate pred:active-site ]
[ text:field "allergen" ; text:predicate pred:allergen ]
[ text:field "amino_acid_modification" ; text:predicate
pred:amino-acid-modification ]
[ text:field "beta_strand" ; text:predicate pred:beta-strand ]
) .
...
I have not found a clear answer in
http://www.marshut.com/wyzwi/jena-solr.html#xmkpm
1) What should the solr schema look like (field declaration part) ?
2) Which field should be declared as the id key ?
Thanks in advance for answering,
Cheers,
Pierre-André