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

Paul Elschot updated LUCENE-6537:
---------------------------------
    Attachment: LUCENE-6537.patch

Same patch with two extra test methods showing that repeated matches occur only 
when the first term repeats and there is enough slop:
For ordered span near t1 t2 with slop 1:
t1 t1 t2 matches twice,
t1 t2 t2 matches once.


> Make NearSpansOrdered use lazy iteration
> ----------------------------------------
>
>                 Key: LUCENE-6537
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6537
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-6537.patch, LUCENE-6537.patch
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to