public abstract class ScoreFunction extends Object
Modifier | Constructor and Description |
---|---|
protected |
ScoreFunction(CombineFunction scoreCombiner) |
Modifier and Type | Method and Description |
---|---|
CombineFunction |
getDefaultScoreCombiner() |
abstract LeafScoreFunction |
getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) |
abstract boolean |
needsScores()
Indicates if document scores are needed by this function.
|
protected ScoreFunction(CombineFunction scoreCombiner)
public CombineFunction getDefaultScoreCombiner()
public abstract LeafScoreFunction getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
IOException
public abstract boolean needsScores()
true
if scores are needed.Copyright © 2009–2017. All rights reserved.