Class LeafScoreFunction
org.elasticsearch.common.lucene.search.function.LeafScoreFunction
public abstract class LeafScoreFunction
extends
Per-leaf
ScoreFunction
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.lucene.search.Explanation
explainScore(int docId, org.apache.lucene.search.Explanation subQueryScore)
abstract double
score(int docId, float subQueryScore)
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
LeafScoreFunction
public LeafScoreFunction()
-
-
Method Details
-
score
public abstract double score(int docId, float subQueryScore) throws- Throws:
-
explainScore
public abstract org.apache.lucene.search.Explanation explainScore(int docId, org.apache.lucene.search.Explanation subQueryScore) throws- Throws:
-