public abstract class ScoreFunction extends Object
Modifier | Constructor and Description |
---|---|
protected |
ScoreFunction(CombineFunction scoreCombiner) |
Modifier and Type | Method and Description |
---|---|
abstract org.apache.lucene.search.Explanation |
explainScore(int docId,
org.apache.lucene.search.Explanation subQueryScore) |
CombineFunction |
getDefaultScoreCombiner() |
abstract double |
score(int docId,
float subQueryScore) |
abstract void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
protected ScoreFunction(CombineFunction scoreCombiner)
public abstract void setNextReader(org.apache.lucene.index.AtomicReaderContext context)
public abstract double score(int docId, float subQueryScore)
public abstract org.apache.lucene.search.Explanation explainScore(int docId, org.apache.lucene.search.Explanation subQueryScore) throws IOException
IOException
public CombineFunction getDefaultScoreCombiner()
Copyright © 2009–2015. All rights reserved.