Class ScriptDoubleValues
java.lang.Object
org.elasticsearch.index.fielddata.SortedNumericDoubleValues
org.elasticsearch.index.fielddata.SortingNumericDoubleValues
org.elasticsearch.search.aggregations.support.values.ScriptDoubleValues
- All Implemented Interfaces:
ScorerAware
SortingNumericDoubleValues
implementation which is based on a script-
Field Summary
Fields inherited from class org.elasticsearch.index.fielddata.SortingNumericDoubleValues
values
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
advanceExact(int target)
Advance the iterator to exactlytarget
and return whethertarget
has a value.void
setScorer(org.apache.lucene.search.Scorable scorer)
Methods inherited from class org.elasticsearch.index.fielddata.SortingNumericDoubleValues
docValueCount, nextValue, resize, sort
-
Constructor Details
-
ScriptDoubleValues
-
-
Method Details
-
advanceExact
Description copied from class:SortedNumericDoubleValues
Advance the iterator to exactlytarget
and return whethertarget
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
.- Specified by:
advanceExact
in classSortedNumericDoubleValues
- Throws:
IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer)- Specified by:
setScorer
in interfaceScorerAware
-