mirror of https://github.com/apache/lucene.git
QueryComponent.mergeIds tweak to local 'queue' variable.
This commit is contained in:
parent
6abfad0234
commit
f203c7c816
|
@ -973,8 +973,7 @@ public class QueryComponent extends SearchComponent
|
|||
|
||||
// Merge the docs via a priority queue so we don't have to sort *all* of the
|
||||
// documents... we only need to order the top (rows+start)
|
||||
ShardFieldSortedHitQueue queue;
|
||||
queue = new ShardFieldSortedHitQueue(sortFields, ss.getOffset() + ss.getCount(), rb.req.getSearcher());
|
||||
final ShardFieldSortedHitQueue queue = new ShardFieldSortedHitQueue(sortFields, ss.getOffset() + ss.getCount(), rb.req.getSearcher());
|
||||
|
||||
NamedList<Object> shardInfo = null;
|
||||
if(rb.req.getParams().getBool(ShardParams.SHARDS_INFO, false)) {
|
||||
|
|
Loading…
Reference in New Issue