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 Summary
Nested Classes Modifier and Type Class Description class
SolrFeature.SolrFeatureWeight.SolrFeatureScorer
Scorer for a SolrFeature-
Nested classes/interfaces inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeight
Feature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.FilterFeatureScorer, Feature.FeatureWeight.ValueFeatureScorer
-
-
Field Summary
-
Fields inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeight
efi, macroExpander, originalQuery, request, searcher
-
-
Constructor Summary
Constructors Constructor Description SolrFeatureWeight(SolrIndexSearcher searcher, SolrQueryRequest request, org.apache.lucene.search.Query originalQuery, Map<String,String[]> efi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Feature.FeatureWeight.FeatureScorer
scorer(org.apache.lucene.index.LeafReaderContext context)
-
Methods inherited from class org.apache.solr.ltr.feature.Feature.FeatureWeight
explain, getDefaultValue, getIndex, getName, isCacheable, toString
-
-
-
-
Constructor Detail
-
SolrFeatureWeight
public SolrFeatureWeight(SolrIndexSearcher searcher, SolrQueryRequest request, org.apache.lucene.search.Query originalQuery, Map<String,String[]> efi) throws IOException
- Throws:
IOException
-
-
Method Detail
-
scorer
public Feature.FeatureWeight.FeatureScorer scorer(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Specified by:
scorer
in classFeature.FeatureWeight
- Throws:
IOException
-
-