Package org.apache.solr.search
Class SolrConstantScoreQuery.ConstantWeight
- java.lang.Object
-
- org.apache.lucene.search.Weight
-
- org.apache.lucene.search.ConstantScoreWeight
-
- org.apache.solr.search.SolrConstantScoreQuery.ConstantWeight
-
- All Implemented Interfaces:
org.apache.lucene.search.SegmentCacheable
- Enclosing class:
- SolrConstantScoreQuery
protected class SolrConstantScoreQuery.ConstantWeight extends org.apache.lucene.search.ConstantScoreWeight
-
-
Constructor Summary
Constructors Constructor Description ConstantWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCacheable(org.apache.lucene.index.LeafReaderContext ctx)org.apache.lucene.search.Scorerscorer(org.apache.lucene.index.LeafReaderContext context)-
Methods inherited from class org.apache.lucene.search.ConstantScoreWeight
explain, extractTerms, score
-
-
-
-
Constructor Detail
-
ConstantWeight
public ConstantWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) throws IOException- Throws:
IOException
-
-
Method Detail
-
scorer
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext context) throws IOException- Specified by:
scorerin classorg.apache.lucene.search.Weight- Throws:
IOException
-
isCacheable
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext ctx)
-
-