Package org.apache.solr.ltr.feature
Class SolrFeature.SolrFeatureWeight
- java.lang.Object
- 
- org.apache.lucene.search.Weight
- 
- org.apache.solr.ltr.feature.Feature.FeatureWeight
- 
- org.apache.solr.ltr.feature.SolrFeature.SolrFeatureWeight
 
 
 
- 
- All Implemented Interfaces:
- org.apache.lucene.search.SegmentCacheable
 - Enclosing class:
- SolrFeature
 
 public class SolrFeature.SolrFeatureWeight extends Feature.FeatureWeight Weight for a SolrFeature
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classSolrFeature.SolrFeatureWeight.SolrFeatureScorerScorer for a SolrFeatureclassSolrFeature.SolrFeatureWeight.SolrFeatureScorerIteratorAn iterator that allows to iterate only on the documents for which a feature has a value.- 
Nested classes/interfaces inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeightFeature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.ValueFeatureScorer
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeightefi, macroExpander, originalQuery, request, searcher
 
- 
 - 
Constructor SummaryConstructors Constructor Description SolrFeatureWeight(org.apache.lucene.search.IndexSearcher searcher, SolrQueryRequest request, org.apache.lucene.search.Query originalQuery, Map<String,String[]> efi)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidextractTerms(Set<org.apache.lucene.index.Term> terms)Feature.FeatureWeight.FeatureScorerscorer(org.apache.lucene.index.LeafReaderContext context)- 
Methods inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeightexplain, getDefaultValue, getIndex, getName, isCacheable, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
SolrFeatureWeightpublic SolrFeatureWeight(org.apache.lucene.search.IndexSearcher searcher, SolrQueryRequest request, org.apache.lucene.search.Query originalQuery, Map<String,String[]> efi) throws IOException- Throws:
- IOException
 
 
- 
 - 
Method Detail- 
extractTermspublic void extractTerms(Set<org.apache.lucene.index.Term> terms) - Overrides:
- extractTermsin class- Feature.FeatureWeight
 
 - 
scorerpublic Feature.FeatureWeight.FeatureScorer scorer(org.apache.lucene.index.LeafReaderContext context) throws IOException - Specified by:
- scorerin class- Feature.FeatureWeight
- Throws:
- IOException
 
 
- 
 
-