[ 
https://issues.apache.org/jira/browse/LUCENE-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Davids resolved LUCENE-5932.
----------------------------------
       Resolution: Duplicate
    Fix Version/s:     (was: 4.11)

> 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
>         Attachments: LUCENE-5932.patch
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to