[
https://issues.apache.org/jira/browse/LUCENE-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816047#comment-13816047
]
Jerry Zhou commented on LUCENE-5332:
------------------------------------
it depends on how we interpret the SpanNearQuery.
content: a b c d e f g
query: b d g
To me, b and d have one term in between, so 1 <= 2; d and g have two terms in
between, so 2 <= 2. It should match.
But if you are telling me that the total terms in between are 3, so it should
work when slop = 3. That's odd to me.
> SpanNearQuery with multiple terms does not find match
> -----------------------------------------------------
>
> Key: LUCENE-5332
> URL: https://issues.apache.org/jira/browse/LUCENE-5332
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Jerry Zhou
> Attachments: MultiTermFlatSpanNearTest.java
>
>
> A flat structure (non-nested) for a SpanNearQuery containing multiple terms
> does not always find the correct match.
> Test case is attached ...
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]