Package org.apache.solr.ltr.feature
Class FieldLengthFeature.FieldLengthFeatureWeight
- java.lang.Object
-
- org.apache.lucene.search.Weight
-
- org.apache.solr.ltr.feature.Feature.FeatureWeight
-
- org.apache.solr.ltr.feature.FieldLengthFeature.FieldLengthFeatureWeight
-
- All Implemented Interfaces:
org.apache.lucene.search.SegmentCacheable
- Enclosing class:
- FieldLengthFeature
public class FieldLengthFeature.FieldLengthFeatureWeight extends Feature.FeatureWeight
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
FieldLengthFeature.FieldLengthFeatureWeight.FieldLengthFeatureScorer
-
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 FieldLengthFeatureWeight(org.apache.lucene.search.IndexSearcher 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
-
FieldLengthFeatureWeight
public FieldLengthFeatureWeight(org.apache.lucene.search.IndexSearcher searcher, SolrQueryRequest request, org.apache.lucene.search.Query originalQuery, Map<String,String[]> efi)
-
-
Method Detail
-
scorer
public Feature.FeatureWeight.FeatureScorer scorer(org.apache.lucene.index.LeafReaderContext context) throws IOException
- Specified by:
scorer
in classFeature.FeatureWeight
- Throws:
IOException
-
-