public class FieldValueFeature.FieldValueFeatureWeight extends Feature.FeatureWeight
| Modifier and Type | Class and Description |
|---|---|
class |
FieldValueFeature.FieldValueFeatureWeight.DefaultValueFieldValueFeatureScorer
A FeatureScorer that always returns the default value.
|
class |
FieldValueFeature.FieldValueFeatureWeight.FieldValueFeatureScorer
A FeatureScorer that reads the stored value for a field
|
class |
FieldValueFeature.FieldValueFeatureWeight.NumericDocValuesFieldValueFeatureScorer
A FeatureScorer that reads the numeric docValues for a field
|
class |
FieldValueFeature.FieldValueFeatureWeight.SortedDocValuesFieldValueFeatureScorer
A FeatureScorer that reads the sorted docValues for a field
|
Feature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.FilterFeatureScorer, Feature.FeatureWeight.ValueFeatureScorerWeight.DefaultBulkScorerefi, macroExpander, originalQuery, request, searcherparentQuery| Constructor and Description |
|---|
FieldValueFeatureWeight(IndexSearcher searcher,
SolrQueryRequest request,
Query originalQuery,
Map<String,String[]> efi) |
| Modifier and Type | Method and Description |
|---|---|
Feature.FeatureWeight.FeatureScorer |
scorer(LeafReaderContext context)
Return a FeatureScorer that uses docValues or storedFields if no docValues are present
|
explain, extractTerms, getDefaultValue, getIndex, getName, isCacheable, toStringbulkScorer, getQuery, matches, scorerSupplierpublic FieldValueFeatureWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi)
public Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer in class Feature.FeatureWeightcontext - the segment this FeatureScorer is working withIOException - as defined by abstract class FeatureCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.