[ https://issues.apache.org/jira/browse/JENA-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248539#comment-16248539 ]
Elie Roux commented on JENA-1388: --------------------------------- As a note, in our system, each "entity" on which such multi-field Lucene query would be relevant is a graph ; so maybe a first step would be to have graphs as Lucene documents instead of triples? I don't believe the change to this type of system would require a complete rewrite, but I do not know much about the topic. > Lucene text search across multiple fields ("AND") yields no results > ------------------------------------------------------------------- > > Key: JENA-1388 > URL: https://issues.apache.org/jira/browse/JENA-1388 > Project: Apache Jena > Issue Type: Bug > Components: Text > Affects Versions: Jena 3.4.0 > Environment: CentOS 7.3, OpenJDK 64-Bit, v1.8.0_141-b16 > Reporter: Vilnis Termanis (Iotic Labs) > Assignee: Osma Suominen > Labels: index, lucene, search > Attachments: config-fields.ttl, multi_field.ttl, multi_index.sparql > > > Searching across two Lucene text indexed fields produces potentially > unexpected results. (The following assumes that the string supplied to each > field does match and is tied to the same uid/subject.) > # A query across two fields with *OR* produces two equal rows > # The same query but with *AND* produces no rows -- This message was sent by Atlassian JIRA (v6.4.14#64029)