Home » lucene-3.0.1-src » org.apache » lucene » search » [javadoc | source]
org.apache.lucene.search
protected class: DisjunctionMaxQuery.DisjunctionMaxWeight [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Weight
      org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight

All Implemented Interfaces:
    Serializable

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 Summary
protected  Similarity similarity    The Similarity implementation. 
protected  ArrayList<Weight> weights    The Weights for our subqueries, in 1-1 correspondence with disjuncts 
Constructor:
 public DisjunctionMaxWeight(Searcher searcher) throws IOException 
Method from org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight Summary:
explain,   getQuery,   getValue,   normalize,   scorer,   sumOfSquaredWeights
Methods from org.apache.lucene.search.Weight:
explain,   getQuery,   getValue,   normalize,   scorer,   scoresDocsOutOfOrder,   sumOfSquaredWeights
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.DisjunctionMaxQuery$DisjunctionMaxWeight Detail:
 public Explanation explain(IndexReader reader,
    int doc) throws IOException 
 public Query getQuery() 
 public float getValue() 
 public  void normalize(float norm) 
 public Scorer scorer(IndexReader reader,
    boolean scoreDocsInOrder,
    boolean topScorer) throws IOException 
 public float sumOfSquaredWeights() throws IOException