Package org.apache.solr.ltr.feature
Class Feature.FeatureWeight.FilterFeatureScorer
- java.lang.Object
-
- org.apache.lucene.search.Scorable
-
- org.apache.lucene.search.Scorer
-
- org.apache.solr.ltr.feature.Feature.FeatureWeight.FeatureScorer
-
- org.apache.solr.ltr.feature.Feature.FeatureWeight.FilterFeatureScorer
-
- Direct Known Subclasses:
OriginalScoreFeature.OriginalScoreWeight.OriginalScoreScorer
,SolrFeature.SolrFeatureWeight.SolrFeatureScorer
- Enclosing class:
- Feature.FeatureWeight
public abstract class Feature.FeatureWeight.FilterFeatureScorer extends Feature.FeatureWeight.FeatureScorer
AFeatureScorer
that contains aScorer
, which it delegates to where appropriate.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.search.Scorer
in
-
Fields inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeight.FeatureScorer
itr, name
-
-
Constructor Summary
Constructors Constructor Description FilterFeatureScorer(Feature.FeatureWeight weight, org.apache.lucene.search.Scorer scorer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
advanceShallow(int target)
int
docID()
float
getMaxScore(int upTo)
org.apache.lucene.search.DocIdSetIterator
iterator()
-
Methods inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeight.FeatureScorer
getDocInfo, score, setDocInfo
-
-
-
-
Constructor Detail
-
FilterFeatureScorer
public FilterFeatureScorer(Feature.FeatureWeight weight, org.apache.lucene.search.Scorer scorer)
-
-
Method Detail
-
docID
public int docID()
- Overrides:
docID
in classFeature.FeatureWeight.FeatureScorer
-
iterator
public org.apache.lucene.search.DocIdSetIterator iterator()
- Overrides:
iterator
in classFeature.FeatureWeight.FeatureScorer
-
advanceShallow
public int advanceShallow(int target) throws IOException
- Overrides:
advanceShallow
in classorg.apache.lucene.search.Scorer
- Throws:
IOException
-
getMaxScore
public float getMaxScore(int upTo) throws IOException
- Specified by:
getMaxScore
in classorg.apache.lucene.search.Scorer
- Throws:
IOException
-
-