Documentation: http://jena.apache.org/documentation/query/text-query.html#configuration-by-code
Example: https://github.com/apache/jena/blob/master/jena-text/src/main/java/examples/JenaTextExample1.java Andy On 22/09/17 10:42, George News wrote:
Hi, could you please provide an example of directly working with indexes from Jena API? I have a TDB directly created using: private static final Dataset dataset = TDBFactory.createDataset(tripleStorePath); Now that I have pretty much of the functionality to interact with it, I want to create indexes. I have read a bit about Lucene, Text, Spatial, etc. indexes, but I haven't really found an example to work with them from the API point of view. I'm not using any assembler configuration file, but in case it is mandatory I will change what is required. Could you give me some tip on how to create the indexes and make the SPARQL engine make use of it?
TextDatasetFactory
Thanks a lot. Jorge
