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

All Implemented Interfaces:

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 
 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