public static interface SearchScript.LeafFactory
SearchScript
instances.Modifier and Type | Method and Description |
---|---|
boolean |
needs_score()
Return
true if the script needs _score calculated, or false otherwise. |
SearchScript |
newInstance(org.apache.lucene.index.LeafReaderContext ctx) |
SearchScript newInstance(org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
java.io.IOException
boolean needs_score()
true
if the script needs _score
calculated, or false
otherwise.