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

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

Re: Missing solution in SPARQL select result, however this solution exists in the dataset

2017-09-27 Thread Lorenz Buehmann
Query works for me on the sample data. Btw, there is an error in the first URI in the OPTIONAL clause. I'd suggest to use SPARQL 1.1 VALUES to avoid redundant declaration of the same URI. On 27.09.2017 11:35, Andy Seaborne wrote: > That's a lot of data and it's broken by email.  A small extract

Re: Missing solution in SPARQL select result, however this solution exists in the dataset

2017-09-27 Thread Andy Seaborne
That's a lot of data and it's broken by email. A small extract to illustrate the problem is all that is needed together with a stripped down query that shows the effect in question. Something runnable. The query is different to the original a well - some of it is matching strings so you wil

Re: Append existing graph runtime

2017-09-27 Thread Andy Seaborne
On 26/09/17 19:59, Dimov, Stefan wrote: It’s one machine, one Fuseki and one TDB. Nothing shared, no separate processes … Then I don't understand the description. I underatdn it to mean there is a Fuseki server running and also some java code doing direct update to a dataset "while it’s