public class ValueFeature.ValueFeatureWeight extends Feature.FeatureWeight
Feature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.FilterFeatureScorer, Feature.FeatureWeight.ValueFeatureScorer
Weight.DefaultBulkScorer
Modifier and Type | Field and Description |
---|---|
protected Float |
featureValue |
efi, macroExpander, originalQuery, request, searcher
parentQuery
Constructor and Description |
---|
ValueFeatureWeight(IndexSearcher searcher,
SolrQueryRequest request,
Query originalQuery,
Map<String,String[]> efi) |
Modifier and Type | Method and Description |
---|---|
Feature.FeatureWeight.FeatureScorer |
scorer(LeafReaderContext context) |
explain, extractTerms, getDefaultValue, getIndex, getName, isCacheable, toString
bulkScorer, getQuery, matches, scorerSupplier
protected final Float featureValue
public ValueFeatureWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi)
public Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer
in class Feature.FeatureWeight
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.