Class SolrConstantScoreQuery.ConstantWeight

  • All Implemented Interfaces:
    org.apache.lucene.search.SegmentCacheable
    Enclosing class:
    SolrConstantScoreQuery

    protected class SolrConstantScoreQuery.ConstantWeight
    extends org.apache.lucene.search.ConstantScoreWeight
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.search.Weight

        org.apache.lucene.search.Weight.DefaultBulkScorer
    • Field Summary

      • Fields inherited from class org.apache.lucene.search.Weight

        parentQuery
    • Constructor Summary

      Constructors 
      Constructor Description
      ConstantWeight​(org.apache.lucene.search.IndexSearcher searcher, float boost)  
    • Constructor Detail

      • ConstantWeight

        public ConstantWeight​(org.apache.lucene.search.IndexSearcher searcher,
                              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:
        scorer in class org.apache.lucene.search.Weight
        Throws:
        IOException
      • isCacheable

        public boolean isCacheable​(org.apache.lucene.index.LeafReaderContext ctx)