[ 
https://issues.apache.org/jira/browse/LUCENE-6371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577630#comment-14577630
 ] 

Paul Elschot commented on LUCENE-6371:
--------------------------------------

bq. I think we should only call stretchToOrder() as there is nothing better we 
can do without having information about further positions? Advancing any of the 
sub spans could make the span unordered or larger than the slop.

After stretchToOrder(), there is not necessarily a match.
So maybe shrinkToFirstMatch() first from the first subspans to the last but one 
(instead of now shrinkToAfterShortest the other way around.)
And then collect payloads of matching spans until after the shortest match?


> Improve Spans payload collection
> --------------------------------
>
>                 Key: LUCENE-6371
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6371
>             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
(v6.3.4#6332)

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

Reply via email to