Package org.elasticsearch.script.field
Class SortedSetDocValuesStringFieldScript
java.lang.Object
org.elasticsearch.script.DocBasedScript
org.elasticsearch.script.AbstractFieldScript
org.elasticsearch.script.StringFieldScript
org.elasticsearch.script.field.SortedSetDocValuesStringFieldScript
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.script.StringFieldScript
StringFieldScript.Emit, StringFieldScript.Factory, StringFieldScript.LeafFactory
-
Field Summary
Fields inherited from class org.elasticsearch.script.StringFieldScript
CONTEXT, MAX_CHARS, PARAMETERS, PARSE_FROM_SOURCE
Fields inherited from class org.elasticsearch.script.AbstractFieldScript
fieldName, MAX_VALUES, sourceLookup
Fields inherited from class org.elasticsearch.script.DocBasedScript
docReader
-
Constructor Summary
ConstructorDescriptionSortedSetDocValuesStringFieldScript
(String fieldName, SearchLookup searchLookup, org.apache.lucene.index.LeafReaderContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
void
setDocument
(int docID) Set the current document to run the script on next.Methods inherited from class org.elasticsearch.script.StringFieldScript
emit, emitFromObject, leafAdapter, resultsForDoc, runForDoc
Methods inherited from class org.elasticsearch.script.AbstractFieldScript
checkMaxSize, emitFromCompositeScript, emitFromSource, extractFromSource, getParams
Methods inherited from class org.elasticsearch.script.DocBasedScript
docAsMap, field, fields, getDoc
-
Constructor Details
-
SortedSetDocValuesStringFieldScript
public SortedSetDocValuesStringFieldScript(String fieldName, SearchLookup searchLookup, org.apache.lucene.index.LeafReaderContext ctx)
-
-
Method Details
-
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
-