public abstract class Feature.FeatureWeight.FilterFeatureScorer extends Feature.FeatureWeight.FeatureScorer
FeatureScorer
that contains a Scorer
,
which it delegates to where appropriate.Scorable.ChildScorable
Modifier and Type | Field and Description |
---|---|
protected Scorer |
in |
itr, name
Constructor and Description |
---|
FilterFeatureScorer(Feature.FeatureWeight weight,
Scorer scorer) |
Modifier and Type | Method and Description |
---|---|
int |
advanceShallow(int target) |
int |
docID() |
float |
getMaxScore(int upTo) |
DocIdSetIterator |
iterator() |
TwoPhaseIterator |
twoPhaseIterator() |
getDocInfo, score, setDocInfo
getChildren, setMinCompetitiveScore
protected final Scorer in
public FilterFeatureScorer(Feature.FeatureWeight weight, Scorer scorer)
public int docID()
docID
in class Feature.FeatureWeight.FeatureScorer
public DocIdSetIterator iterator()
iterator
in class Feature.FeatureWeight.FeatureScorer
public TwoPhaseIterator twoPhaseIterator()
twoPhaseIterator
in class Scorer
public int advanceShallow(int target) throws IOException
advanceShallow
in class Scorer
IOException
public float getMaxScore(int upTo) throws IOException
getMaxScore
in class Scorer
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.