protected class SolrConstantScoreQuery.ConstantWeight extends ConstantScoreWeight
Weight.DefaultBulkScorer, Weight.StartDISIWrapperparentQuery| Constructor and Description |
|---|
ConstantWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCacheable(LeafReaderContext ctx) |
Scorer |
scorer(LeafReaderContext context) |
explain, extractTerms, scorebulkScorer, getQuery, matches, scorerSupplierpublic ConstantWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
IOExceptionpublic Scorer scorer(LeafReaderContext context) throws IOException
scorer in class WeightIOExceptionpublic boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.