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: [email protected]
For additional commands, e-mail: [email protected]