You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Brian McBride (JIRA)" <ji...@apache.org> on 2014/04/22 21:22:20 UTC
[jira] [Updated] (JENA-686) Add support for cross field conjunctive
queries in jena-text
[ https://issues.apache.org/jira/browse/JENA-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian McBride updated JENA-686:
-------------------------------
Attachment: TestDatasetWithBatchProducer.java
The key test in on line 167 testConjunctiveQueryAcrossFields()
> 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: Fuseki 1.0.1, Jena 2.11.1
> Reporter: Brian McBride
> Attachments: TestDatasetWithBatchProducer.java
>
>
> 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)