ScorerAwarepublic 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, waitdocValueCount, nextValue, resize, sortpublic ScriptDoubleValues(SearchScript script)
public boolean advanceExact(int target)
throws java.io.IOException
SortedNumericDoubleValuestarget 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 SortedNumericDoubleValuesjava.io.IOExceptionpublic void setScorer(org.apache.lucene.search.Scorer scorer)
setScorer in interface ScorerAware