public class LTRScoringQuery.ModelWeight extends Weight
| Modifier and Type | Class and Description | 
|---|---|
class  | 
LTRScoringQuery.ModelWeight.ModelScorer  | 
Weight.DefaultBulkScorerparentQuery| Constructor and Description | 
|---|
ModelWeight(Feature.FeatureWeight[] modelFeatureWeights,
           Feature.FeatureWeight[] extractedFeatureWeights,
           int allFeaturesSize)  | 
| Modifier and Type | Method and Description | 
|---|---|
Explanation | 
explain(LeafReaderContext context,
       int doc)  | 
void | 
extractTerms(Set<Term> terms)  | 
LTRScoringQuery.FeatureInfo[] | 
getFeaturesInfo()  | 
boolean | 
isCacheable(LeafReaderContext ctx)  | 
protected void | 
reset()  | 
LTRScoringQuery.ModelWeight.ModelScorer | 
scorer(LeafReaderContext context)  | 
bulkScorer, getQuery, matches, scorerSupplierpublic ModelWeight(Feature.FeatureWeight[] modelFeatureWeights, Feature.FeatureWeight[] extractedFeatureWeights, int allFeaturesSize)
public LTRScoringQuery.FeatureInfo[] getFeaturesInfo()
public Explanation explain(LeafReaderContext context, int doc) throws IOException
explain in class WeightIOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Weightprotected void reset()
public LTRScoringQuery.ModelWeight.ModelScorer scorer(LeafReaderContext context) throws IOException
scorer in class WeightIOExceptionpublic boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.