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

Andy Seaborne commented on JENA-1388:
-------------------------------------

"one triple, on document" is a clear way to express it. I can see that update 
would become significant harder (to the point of impossible for practical 
reasons).

What it needs is an index that is concept-based (some logical unit like the 
subject) : lucene doc per concept. When the triples of the entity can be spread 
and when partial updates to some of the triples are possible, it would seem to 
be hard. It would be a separate indexing design, either slow to update or only 
complete rebuild, and not beign stream-driven. i.e. it isn't a replacement for 
jena-text.

So - I agree - it is not a bug-to-be-fixed and "WONTFIX" is the consequence. 

If a contribution comes in that does this concept-indexing, it would be an an 
additional feature.


> 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