public class OriginalScoreFeature.OriginalScoreWeight extends Feature.FeatureWeight
Modifier and Type | Class and Description |
---|---|
class |
OriginalScoreFeature.OriginalScoreWeight.OriginalScoreScorer |
Feature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.ValueFeatureScorer
Weight.DefaultBulkScorer
efi, macroExpander, originalQuery, request, searcher
parentQuery
Constructor and Description |
---|
OriginalScoreWeight(IndexSearcher searcher,
SolrQueryRequest request,
Query originalQuery,
Map<String,String[]> efi) |
Modifier and Type | Method and Description |
---|---|
void |
extractTerms(Set<Term> terms) |
Feature.FeatureWeight.FeatureScorer |
scorer(LeafReaderContext context) |
String |
toString()
Used in the FeatureWeight's explain.
|
explain, getDefaultValue, getIndex, getName, isCacheable
bulkScorer, getQuery, matches, scorerSupplier
public OriginalScoreWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi) throws IOException
IOException
public String toString()
Feature.FeatureWeight
toString
in class Feature.FeatureWeight
public void extractTerms(Set<Term> terms)
extractTerms
in class Feature.FeatureWeight
public Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer
in class Feature.FeatureWeight
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.