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.ValueFeatureScorer
Weight.DefaultBulkScorer, Weight.StartDISIWrapper
efi, macroExpander, originalQuery, request, searcher
parentQuery
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, toString
bulkScorer, getQuery, matches, scorerSupplier
public FieldValueFeatureWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi)
public Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer
in class Feature.FeatureWeight
context
- the segment this FeatureScorer is working withIOException
- as defined by abstract class FeatureCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.