Hi,
Andy Seaborne kirjoitti 24.05.2017 klo 14:34:
2) say I create an <#entMap> for each graph in the dataset, and use
text:graphField "some-graph" in each <#entMap>. Can I define Lucene
fields with the same name on different graphs? Or will fields with the
same name be merged all together across all graphs?
I have not used the named graph support so I'm not sure.
The graphField behaves in much the same way as entityField.
The question seems to imply that different graphs would be stored in
different Lucene indexes. That is not true. Instead, all graphs (from
the same dataset) will be stored in one Lucene index, with the graph
IRIs of individual entities (triples/quads in practice) stored in the
graphField so that queries can be efficiently restricted to a particular
graph. You cannot set different jena-text options per graph.
-Osma
--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi