ScorerAware
public class ScriptDoubleValues extends SortingNumericDoubleValues implements ScorerAware
SortingNumericDoubleValues
implementation which is based on a scriptvalues
Constructor | Description |
---|---|
ScriptDoubleValues(SearchScript script) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
advanceExact(int target) |
Advance the iterator to exactly
target and return whether
target has a value. |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
docValueCount, nextValue, resize, sort
public ScriptDoubleValues(SearchScript script)
public boolean advanceExact(int target) throws java.io.IOException
SortedNumericDoubleValues
target
and return whether
target
has a value.
target
must be greater than or equal to the current
doc ID and must be a valid doc ID, ie. ≥ 0 and
< maxDoc
.advanceExact
in class SortedNumericDoubleValues
java.io.IOException
public void setScorer(org.apache.lucene.search.Scorer scorer)
setScorer
in interface ScorerAware