Module org.elasticsearch.server
Package org.elasticsearch.script
Class SortedNumericDocValuesLongFieldScript
java.lang.Object
org.elasticsearch.script.DocBasedScript
org.elasticsearch.script.AbstractFieldScript
org.elasticsearch.script.AbstractLongFieldScript
org.elasticsearch.script.SortedNumericDocValuesLongFieldScript
-
Field Summary
Fields inherited from class org.elasticsearch.script.AbstractFieldScript
fieldName, MAX_VALUES, sourceLookup
Fields inherited from class org.elasticsearch.script.DocBasedScript
docReader
-
Constructor Summary
ConstructorDescriptionSortedNumericDocValuesLongFieldScript
(String fieldName, SearchLookup lookup, org.apache.lucene.index.LeafReaderContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
execute()
void
setDocument
(int docID) Set the current document to run the script on next.Methods inherited from class org.elasticsearch.script.AbstractLongFieldScript
count, emit, runForDoc, runForDoc, values
Methods inherited from class org.elasticsearch.script.AbstractFieldScript
checkMaxSize, emitFromCompositeScript, emitFromSource, emitValueFromCompositeScript, extractFromSource, getParams
Methods inherited from class org.elasticsearch.script.DocBasedScript
docAsMap, field, fields, getDoc
-
Constructor Details
-
SortedNumericDocValuesLongFieldScript
public SortedNumericDocValuesLongFieldScript(String fieldName, SearchLookup lookup, org.apache.lucene.index.LeafReaderContext ctx)
-
-
Method Details
-
emitFromObject
- Specified by:
emitFromObject
in classAbstractFieldScript
-
setDocument
public void setDocument(int docID) Description copied from class:DocBasedScript
Set the current document to run the script on next.- Overrides:
setDocument
in classDocBasedScript
-
execute
public void execute()- Specified by:
execute
in classAbstractFieldScript
-