public class Feature.FeatureWeight.ValueFeatureScorer extends Feature.FeatureWeight.FeatureScorer
Scorable.ChildScorable
itr, name
Constructor and Description |
---|
ValueFeatureScorer(Feature.FeatureWeight weight,
float constScore,
DocIdSetIterator itr) |
Modifier and Type | Method and Description |
---|---|
float |
getMaxScore(int upTo) |
float |
score() |
docID, getDocInfo, iterator, setDocInfo
advanceShallow, getWeight, twoPhaseIterator
getChildren, setMinCompetitiveScore
public ValueFeatureScorer(Feature.FeatureWeight weight, float constScore, DocIdSetIterator itr)
public float score()
score
in class Feature.FeatureWeight.FeatureScorer
public float getMaxScore(int upTo) throws IOException
getMaxScore
in class Scorer
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.