Brian McBride created JENA-686:
----------------------------------

             Summary: Add support for cross field conjunctive queries in 
jena-text
                 Key: JENA-686
                 URL: https://issues.apache.org/jira/browse/JENA-686
             Project: Apache Jena
          Issue Type: Improvement
          Components: Text
    Affects Versions: Jena 2.11.1, Fuseki 1.0.1
            Reporter: Brian McBride


We have a project where we are doing text search on addresses and wish to do 
jena text queries like "city:liverpool AND street:green".  These queries return 
no results, whilst queries like "street:green AND street:lane" work fine.

The reason is that jena text indexes each property in a separate Lucene 
document, so there is no Lucene document matching city:liverpool AND 
street:green, there are two documents, one for each property.

Given the scale of our data, we really want to do the conjunctive query in 
Lucene and not two separate queries and then a filter in SPARQL.

I will attach a test case from an attempt to solve this for us to illustrate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to