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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadvanceExact(int target)Advance the iterator to exactlytargetand return whethertargethas a value.voidsetScorer(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:SortedNumericDoubleValuesAdvance the iterator to exactlytargetand return whethertargethas a value.targetmust be greater than or equal to the current doc ID and must be a valid doc ID, ie. ≥ 0 and <maxDoc.- Specified by:
advanceExactin classSortedNumericDoubleValues- Throws:
IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer)- Specified by:
setScorerin interfaceScorerAware
-