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

ASF subversion and git services commented on LUCENE-5515:
---------------------------------------------------------

Commit 1578267 from [~martijn.v.groningen] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1578267 ]

Merged revision 1578262 from trunk: LUCENE-5515: Improved TopDocs#merge to 
create a merged ScoreDoc array with length of at most equal to the specified 
size instead of length equal to at most from + size as was before.

> Improve TopDocs#merge for pagination
> ------------------------------------
>
>                 Key: LUCENE-5515
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5515
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Martijn van Groningen
>            Assignee: Martijn van Groningen
>            Priority: Minor
>             Fix For: 4.8
>
>         Attachments: LUCENE-5515.patch, LUCENE-5515.patch
>
>
> If TopDocs#merge takes from and size into account it can be optimized to 
> create a hits ScoreDoc array equal to size instead of from+size what is now 
> the case.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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

Reply via email to