protected class SolrConstantScoreQuery.ConstantWeight extends ConstantScoreWeight
Weight.DefaultBulkScorer
parentQuery
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, score
bulkScorer, getQuery, matches, scorerSupplier
public ConstantWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
IOException
public Scorer scorer(LeafReaderContext context) throws IOException
scorer
in class Weight
IOException
public boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.