Re: Re-using Lucene index

2017-09-27 Thread Andy Seaborne
The lucene index only needs loading once if it is backed by a disk directory. The same with RDF data : if you use, say TDB, then no need to reload each time. Just connect the Lucene index to the dataset with TextIndex textIndex = TextDataset.createLucene(...) TextDataset.create(Dataset base,

Re-using Lucene index

2017-09-27 Thread Alex Vasinca
Hi, Me and my team are currently developing an application involving Jena. We’re using Jena-Text together with Lucene indexing for full text search support but we’re doing it through SPARQL queries. However, on every startup of the app the indexing is done all over again even if the data didn’t