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.ValueFeatureScorerWeight.DefaultBulkScorerefi, macroExpander, originalQuery, request, searcherparentQuery| 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, toStringbulkScorer, getQuery, scorerSupplierpublic SolrFeatureWeight(IndexSearcher searcher, SolrQueryRequest request, Query originalQuery, Map<String,String[]> efi) throws IOException
IOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Feature.FeatureWeightpublic float getValueForNormalization()
throws IOException
getValueForNormalization in class WeightIOExceptionpublic Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer in class Feature.FeatureWeightIOExceptionCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.