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

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

The patch removes the duplication of NearSpans(Payload)Ordered, which was only 
introduced for to allow better performance when not collecting spans. Removing 
this duplication while keeping the performance is very nice.
I also like the approach of leaving payload collection to a SpanCollector, and 
I would not mind moving from Collection<byte[]> to BytesRefArray right away.

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

Reply via email to