protected class SolrConstantScoreQuery.ConstantWeight extends ConstantScoreWeight
Weight.DefaultBulkScorer
parentQuery
Constructor and Description |
---|
ConstantWeight(IndexSearcher searcher,
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, float boost) throws IOException
IOException
public Scorer scorer(LeafReaderContext context) throws IOException
scorer
in class Weight
IOException
public boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.