The fullext index via Lucene is only used if you use the corresponding
special predicate (which is non-standard SPARQL syntax) in your query:

text:query

e.g. in a query like (taken form the documentation):

PREFIX text: <http://jena.apache.org/text#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

SELECT ?s
{ ?s text:query (rdfs:label 'word' 10) ;
     rdfs:label ?label
}


> I'm reading the documentation at 
> https://jena.apache.org/documentation/query/text-query.html but I don't 
> understand if this is only for full-text searches. Or should I use one of 
> these indexes every time I use one the string functions 
> (https://www.w3.org/TR/sparql11-query/#func-strings) such as CONTAINS, LCASE, 
> etc.?
>
-- 
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center

Reply via email to