public abstract class AbstractFloatSearchScript extends AbstractSearchScript
AbstractSearchScript for computations
that return a float number.| Constructor and Description |
|---|
AbstractFloatSearchScript() |
| Modifier and Type | Method and Description |
|---|---|
Object |
run()
Executes the script.
|
double |
runAsDouble() |
abstract float |
runAsFloat() |
long |
runAsLong() |
doc, docFieldDoubles, docFieldLongs, docFieldStrings, fields, indexLookup, score, setDocument, setScorer, setSource, sourcesetNextVar, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetNextVar, unwrappublic Object run()
ExecutableScriptpublic abstract float runAsFloat()
runAsFloat in interface LeafSearchScriptrunAsFloat in class AbstractSearchScriptpublic double runAsDouble()
runAsDouble in interface LeafSearchScriptrunAsDouble in class AbstractSearchScriptpublic long runAsLong()
runAsLong in interface LeafSearchScriptrunAsLong in class AbstractSearchScriptCopyright © 2009–2017. All rights reserved.