You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn van Groningen (JIRA)" <ji...@apache.org> on 2014/03/17 09:04:43 UTC
[jira] [Resolved] (LUCENE-5515) Improve TopDocs#merge for
pagination
[ https://issues.apache.org/jira/browse/LUCENE-5515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn van Groningen resolved LUCENE-5515.
-------------------------------------------
Resolution: Fixed
Committed to trunk and 4x branch.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org