Class ScriptBytesValues
- java.lang.Object
-
- org.elasticsearch.index.fielddata.SortedBinaryDocValues
-
- org.elasticsearch.index.fielddata.SortingBinaryDocValues
-
- org.elasticsearch.search.aggregations.support.values.ScriptBytesValues
-
- All Implemented Interfaces:
ScorerAware
public class ScriptBytesValues extends SortingBinaryDocValues implements ScorerAware
SortedBinaryDocValues
implementation that reads values from a script.
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues
count, values
-
-
Constructor Summary
Constructors Constructor Description ScriptBytesValues(SearchScript script)
-
Method Summary
Modifier and Type Method Description boolean
advanceExact(int doc)
Advance this instance to the given document idvoid
setScorer(org.apache.lucene.search.Scorer scorer)
-
Methods inherited from class org.elasticsearch.index.fielddata.SortingBinaryDocValues
docValueCount, grow, nextValue, sort
-
-
-
-
Constructor Detail
-
ScriptBytesValues
public ScriptBytesValues(SearchScript script)
-
-
Method Detail
-
advanceExact
public boolean advanceExact(int doc) throws java.io.IOException
Description copied from class:SortedBinaryDocValues
Advance this instance to the given document id- Specified by:
advanceExact
in classSortedBinaryDocValues
- Returns:
- true if there is a value for this document
- Throws:
java.io.IOException
-
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
- Specified by:
setScorer
in interfaceScorerAware
-
-