You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2015/06/09 15:22:00 UTC

[jira] [Updated] (LUCENE-6537) Make NearSpansOrdered use lazy iteration

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

Alan Woodward updated LUCENE-6537:
----------------------------------
    Attachment: LUCENE-6537.patch

Patch moving NearSpansOrdered to a lazy algorithm.  This makes span collection much simpler, and it will also slightly improve performance when scores are not required, as nextStartPosition() can return as soon as it finds a match, without having to shrink the spans.

> 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
>
>




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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org