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
AFeatureScorerthat contains aScorer, which it delegates to where appropriate.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.lucene.search.Scorerin-
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 intadvanceShallow(int target)intdocID()floatgetMaxScore(int upTo)org.apache.lucene.search.DocIdSetIteratoriterator()-
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:
docIDin classFeature.FeatureWeight.FeatureScorer
-
iterator
public org.apache.lucene.search.DocIdSetIterator iterator()
- Overrides:
iteratorin classFeature.FeatureWeight.FeatureScorer
-
advanceShallow
public int advanceShallow(int target) throws IOException- Overrides:
advanceShallowin classorg.apache.lucene.search.Scorer- Throws:
IOException
-
getMaxScore
public float getMaxScore(int upTo) throws IOException- Specified by:
getMaxScorein classorg.apache.lucene.search.Scorer- Throws:
IOException
-
-