[
https://issues.apache.org/jira/browse/LUCENE-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128971#comment-14128971
]
Steve Davids commented on LUCENE-5932:
--------------------------------------
Oops, you are correct - it does appear to be a duplicate.
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]