Class ShardFieldSortedHitQueue
- java.lang.Object
-
- org.apache.lucene.util.PriorityQueue<ShardDoc>
-
- org.apache.solr.handler.component.ShardFieldSortedHitQueue
-
-
Field Summary
Fields Modifier and Type Field Description protected Comparator<ShardDoc>[]
comparators
Stores a comparator corresponding to each field being sorted byprotected List<String>
fieldNames
The order of these fieldNames should correspond to the order of sort field values retrieved from the shardprotected org.apache.lucene.search.SortField[]
fields
Stores the sort criteria being used.
-
Constructor Summary
Constructors Constructor Description ShardFieldSortedHitQueue(org.apache.lucene.search.SortField[] fields, int size, org.apache.lucene.search.IndexSearcher searcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
lessThan(ShardDoc docA, ShardDoc docB)
-
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
comparators
protected Comparator<ShardDoc>[] comparators
Stores a comparator corresponding to each field being sorted by
-
fields
protected org.apache.lucene.search.SortField[] fields
Stores the sort criteria being used.
-
-