[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org