lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Commented] (LUCENE-6371) Improve Spans payload collection
Date Tue, 09 Jun 2015 08:12:01 GMT


Adrien Grand commented on LUCENE-6371:

bq. After stretchToOrder(), there is not necessarily a match.

Indeed: my idea was to have a for loop where we first advance the first spans to the next
position, then call stretchToOrder(). Then two cases: either it doesn't match and the for-loop
continues, or it is a match and we return. It will return a superset of today's matches of

bq. So maybe shrinkToFirstMatch() first from the first subspans to the last but one (instead
of now shrinkToAfterShortest the other way around.)

I don't see how it would help with the eager advancing issue, ie. if you try to advance a
sub span to minimize the distance and it goes too far, there is no way to go back?

> Improve Spans payload collection
> --------------------------------
>                 Key: LUCENE-6371
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Paul Elschot
>            Assignee: Alan Woodward
>            Priority: Minor
>             Fix For: Trunk, 5.3
>         Attachments: LUCENE-6371.patch, LUCENE-6371.patch, LUCENE-6371.patch, LUCENE-6371.patch,
LUCENE-6371.patch, LUCENE-6371.patch
> Spin off from LUCENE-6308, see the comments there from around 23 March 2015.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message