[
https://issues.apache.org/jira/browse/JENA-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248848#comment-16248848
]
Andy Seaborne edited comment on JENA-1388 at 11/12/17 1:06 PM:
---------------------------------------------------------------
As you say, a specific use of graphs.
What you really want is to define the indexing of {{bdr:P2053}} by path, rather
than just a triple (a path of one).
That said, you get the bNode back, because its identity is preserved, and do:
{noformat}
?b text:query "..." .
?s personName ?b .
{noformat}
was (Author: andy.seaborne):
A you say, a specific use of graphs.
What you really want is to define the indexing of {{bdr:P2053}} by path, rather
than just a triple (a path of one).
That said, you get the bNode back, because its identity is preserved, and do:
{noformat}
?b text:query "..." .
?s personName ?b .
{noformat}
> 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)