public class SolrFeature.SolrFeatureWeight extends Feature.FeatureWeight
Modifier and Type | Class and Description |
---|---|
class |
SolrFeature.SolrFeatureWeight.SolrFeatureScorer
Scorer for a SolrFeature
|
class |
SolrFeature.SolrFeatureWeight.SolrFeatureScorerIterator
An iterator that allows to iterate only on the documents for which a feature has
a value.
|
Feature.FeatureWeight.FeatureScorer, Feature.FeatureWeight.ValueFeatureScorer
Weight.DefaultBulkScorer
efi, macroExpander, originalQuery, request, searcher
parentQuery
Constructor and Description |
---|
SolrFeatureWeight(IndexSearcher searcher,
SolrQueryRequest request,
Query originalQuery,
Map<String,String[]> efi) |
Modifier and Type | Method and Description |
---|---|
void |
extractTerms(Set<Term> terms) |
float |
getValueForNormalization() |
void |
normalize(float norm,
float boost) |
Feature.FeatureWeight.FeatureScorer |
scorer(LeafReaderContext context) |
explain, getDefaultValue, getIndex, getName, toString
bulkScorer, getQuery
public SolrFeatureWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi) throws IOException
IOException
public void extractTerms(Set<Term> terms)
extractTerms
in class Feature.FeatureWeight
public float getValueForNormalization() throws IOException
getValueForNormalization
in class Weight
IOException
public Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer
in class Feature.FeatureWeight
IOException
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.