org.elasticsearch.search.controller
Class ScoreDocQueue

java.lang.Object
  extended by org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.ScoreDoc>
      extended by org.elasticsearch.search.controller.ScoreDocQueue

public class ScoreDocQueue
extends org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.ScoreDoc>

Same as lucene HitQueue.


Field Summary
 
Fields inherited from class org.apache.lucene.util.PriorityQueue
heap
 
Constructor Summary
ScoreDocQueue(int size)
           
 
Method Summary
protected  boolean lessThan(org.apache.lucene.search.ScoreDoc hitA, org.apache.lucene.search.ScoreDoc hitB)
           
 
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, clear, getSentinelObject, initialize, insertWithOverflow, pop, size, top, updateTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoreDocQueue

public ScoreDocQueue(int size)
Method Detail

lessThan

protected final boolean lessThan(org.apache.lucene.search.ScoreDoc hitA,
                                 org.apache.lucene.search.ScoreDoc hitB)
Specified by:
lessThan in class org.apache.lucene.util.PriorityQueue<org.apache.lucene.search.ScoreDoc>