public class LTRScoringQuery.ModelWeight.ModelScorer extends Scorer
Scorable.ChildScorable
Constructor and Description |
---|
ModelScorer(Weight weight,
List<Feature.FeatureWeight.FeatureScorer> featureScorers) |
Modifier and Type | Method and Description |
---|---|
int |
docID() |
Collection<Scorable.ChildScorable> |
getChildren() |
DocInfo |
getDocInfo() |
float |
getMaxScore(int upTo) |
DocIdSetIterator |
iterator() |
float |
score() |
advanceShallow, getWeight, twoPhaseIterator
setMinCompetitiveScore
public ModelScorer(Weight weight, List<Feature.FeatureWeight.FeatureScorer> featureScorers)
public DocInfo getDocInfo()
public Collection<Scorable.ChildScorable> getChildren() throws IOException
getChildren
in class Scorable
IOException
public float score() throws IOException
score
in class Scorable
IOException
public float getMaxScore(int upTo) throws IOException
getMaxScore
in class Scorer
IOException
public DocIdSetIterator iterator()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.