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) |
Feature.FeatureWeight.FeatureScorer |
scorer(LeafReaderContext context) |
explain, getDefaultValue, getIndex, getName, isCacheable, toString
bulkScorer, getQuery, matches, scorerSupplier
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 Feature.FeatureWeight.FeatureScorer scorer(LeafReaderContext context) throws IOException
scorer
in class Feature.FeatureWeight
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.