Package org.elasticsearch.script
Interface ScoreScript.LeafFactory
-
- Enclosing class:
- ScoreScript
public static interface ScoreScript.LeafFactory
A factory to constructScoreScript
instances.
-
-
Method Summary
Modifier and Type Method Description boolean
needs_score()
Returntrue
if the script needs_score
calculated, orfalse
otherwise.ScoreScript
newInstance(org.apache.lucene.index.LeafReaderContext ctx)
-
-
-
Method Detail
-
needs_score
boolean needs_score()
Returntrue
if the script needs_score
calculated, orfalse
otherwise.
-
newInstance
ScoreScript newInstance(org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
- Throws:
java.io.IOException
-
-