Class DisjunctionMaxQuery.DisjunctionMaxWeight

java.lang.Object
org.apache.lucene.search.Weight
org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
All Implemented Interfaces:
SegmentCacheable
Enclosing class:
DisjunctionMaxQuery

protected class DisjunctionMaxQuery.DisjunctionMaxWeight extends Weight
Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.

NOTE: this API and implementation is subject to change suddenly in the next release.

  • Field Details

    • weights

      protected final ArrayList<Weight> weights
      The Weights for our subqueries, in 1-1 correspondence with disjuncts
  • Constructor Details

    • DisjunctionMaxWeight

      public DisjunctionMaxWeight(IndexSearcher searcher, ScoreMode scoreMode, float boost) throws IOException
      Construct the Weight for this Query searched by searcher. Recursively construct subquery weights.
      Throws:
      IOException
  • Method Details