lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Davids (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5932) SpanNearUnordered duplicate term counts itself as a match
Date Wed, 10 Sep 2014 01:51:30 GMT
Steve Davids created LUCENE-5932:
------------------------------------

             Summary: SpanNearUnordered duplicate term counts itself as a match
                 Key: LUCENE-5932
                 URL: https://issues.apache.org/jira/browse/LUCENE-5932
             Project: Lucene - Core
          Issue Type: Bug
    Affects Versions: 4.9
            Reporter: Steve Davids
             Fix For: 4.11


An unordered span near with the exact same term will count the first position as a match for
the second term.

A document with values: "w1 w2 w3 w4 w5"

Query hit: spanNear([w1, w1], 1, false) -- SpanNearUnordered
Query miss: spanNear([w1, w1], 1, true) -- SpanNearOrdered (expected)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message