java.lang.Object
org.elasticsearch.script.DocBasedScript
- Direct Known Subclasses:
AbstractFieldScript,AggregationScript,BytesRefSortScript,FieldScript,FilterScript,NumberSortScript,ScoreScript,ScriptedMetricAggContexts.MapScript,StringSortScript
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondocAsMap()Field<?> Map<String, ScriptDocValues<?>> getDoc()The doc lookup for the Lucene segment this script was created for.voidsetDocument(int docID) Set the current document to run the script on next.source()
-
Field Details
-
docReader
-
-
Constructor Details
-
DocBasedScript
-
-
Method Details
-
field
-
fields
-
setDocument
public void setDocument(int docID) Set the current document to run the script on next. -
docAsMap
-
source
-
getDoc
The doc lookup for the Lucene segment this script was created for.
-