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

- Enclosing class:
    SolrConstantScoreQuery

      protected class SolrConstantScoreQuery.ConstantWeight
      extends ConstantScoreWeight

- - ### Nested Class Summary

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

      `Weight.DefaultBulkScorer`

  - ### Field Summary

    - ### Fields inherited from class org.apache.lucene.search.Weight

      `parentQuery`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConstantWeight(IndexSearcher searcher)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Scorer` | `scorer(LeafReaderContext context)`

    - ### Methods inherited from class org.apache.lucene.search.ConstantScoreWeight

      `boost, explain, extractTerms, getValueForNormalization, normalize, queryNorm, score`

    - ### Methods inherited from class org.apache.lucene.search.Weight

      `bulkScorer, getQuery`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConstantWeight

          public ConstantWeight(IndexSearcher searcher)
                         throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### scorer

          public Scorer scorer(LeafReaderContext context)
                        throws IOException

      Specified by:
        `scorer` in class `Weight`
      Throws:
        `IOException`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.