Class LeafScoreFunction
java.lang.Object
org.elasticsearch.common.lucene.search.function.LeafScoreFunction
public abstract class LeafScoreFunction
extends java.lang.Object
Per-leaf
ScoreFunction.-
Constructor Summary
Constructors Constructor Description LeafScoreFunction() -
Method Summary
Modifier and Type Method Description abstract org.apache.lucene.search.ExplanationexplainScore(int docId, org.apache.lucene.search.Explanation subQueryScore)abstract doublescore(int docId, float subQueryScore)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
LeafScoreFunction
public LeafScoreFunction()
-
-
Method Details
-
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
-