[ 
https://issues.apache.org/jira/browse/JENA-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248840#comment-16248840
 ] 

Elie Roux commented on JENA-1388:
---------------------------------

Well, I'm not sure how you would handle blank nodes easily. In our data we have

{noformat}
bdr:P2053  a            :Person ;
    :personName         [ a                   :PersonPrimaryName ;
                          rdfs:label          "a name"@en
                        ] .
{noformat}

and we want "a name" to be fully associated with bdr:P2053 in the Lucene 
indexes and queries, not with a blank node. In our system, all these triples 
would be in the same graph so having a per-graph query would solve this issue, 
but of course it's specific to our way of handling graphs.

> 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)

Reply via email to