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