Method Summary |
|
final public void | adjustTop() Should be called when the scorer at top changes doc() value. |
final public void | clear() Removes all entries from the ScorerDocQueue. |
public boolean | insert(Scorer scorer) Adds a Scorer to the ScorerDocQueue in log(size) time if either
the ScorerDocQueue is not full, or not lessThan(scorer, top()). |
final public Scorer | pop() Removes and returns the least scorer of the ScorerDocQueue in log(size)
time. |
final public void | put(Scorer scorer) Adds a Scorer to a ScorerDocQueue in log(size) time. |
final public int | size() Returns the number of scorers currently stored in the ScorerDocQueue. |
final public Scorer | top() Returns the least Scorer of the ScorerDocQueue in constant time. |
final public int | topDoc() Returns document number of the least Scorer of the ScorerDocQueue
in constant time. |
final public boolean | topNextAndAdjustElsePop() |
final public float | topScore() |
final public boolean | topSkipToAndAdjustElsePop(int target) |