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, sourceFields inherited from class org.elasticsearch.script.DocBasedScript
docReader -
Constructor Summary
ConstructorsConstructorDescriptionSortedNumericDocValuesLongFieldScript(String fieldName, SearchLookup lookup, org.apache.lucene.index.LeafReaderContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidexecute()voidsetDocument(int docID) Set the current document to run the script on next.Methods inherited from class org.elasticsearch.script.AbstractLongFieldScript
count, emit, prepareExecute, runForDoc, valuesMethods inherited from class org.elasticsearch.script.AbstractFieldScript
checkMaxSize, emitFromCompositeScript, emitFromSource, emitValueFromCompositeScript, extractFromSource, getParams, newContext, runForDoc
-
Constructor Details
-
SortedNumericDocValuesLongFieldScript
public SortedNumericDocValuesLongFieldScript(String fieldName, SearchLookup lookup, org.apache.lucene.index.LeafReaderContext ctx)
-
-
Method Details
-
emitFromObject
- Specified by:
emitFromObjectin classAbstractFieldScript
-
setDocument
public void setDocument(int docID) Description copied from class:DocBasedScriptSet the current document to run the script on next.- Overrides:
setDocumentin classDocBasedScript
-
execute
public void execute()- Specified by:
executein classAbstractFieldScript
-