org.elasticsearch.script
Interface SearchScript
- All Superinterfaces:
- ExecutableScript
- All Known Implementing Classes:
- AbstractDoubleSearchScript, AbstractFloatSearchScript, AbstractLongSearchScript, AbstractSearchScript, MvelScriptEngineService.MvelSearchScript, ScriptService.DocScoreSearchScript
public interface SearchScript
- extends ExecutableScript
A search script.
setScorer
void setScorer(org.apache.lucene.search.Scorer scorer)
setNextReader
void setNextReader(org.apache.lucene.index.IndexReader reader)
setNextDocId
void setNextDocId(int doc)
setNextScore
void setNextScore(float score)
runAsFloat
float runAsFloat()
runAsLong
long runAsLong()
runAsDouble
double runAsDouble()