Class LeafScoreFunction
- java.lang.Object
-
- org.elasticsearch.common.lucene.search.function.LeafScoreFunction
-
public abstract class LeafScoreFunction extends Object
Per-leafScoreFunction.
-
-
Constructor Summary
Constructors Constructor Description LeafScoreFunction()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ExplanationexplainScore(int docId, Explanation subQueryScore)abstract doublescore(int docId, float subQueryScore)
-
-
-
Method Detail
-
score
public abstract double score(int docId, float subQueryScore) throws IOException- Throws:
IOException
-
explainScore
public abstract Explanation explainScore(int docId, Explanation subQueryScore) throws IOException
- Throws:
IOException
-
-