Home » lucene-3.0.1-src » org.apache » lucene » search » spans » [javadoc | source]
org.apache.lucene.search.spans
public class: SpanWeight [javadoc | source]
java.lang.Object
   org.apache.lucene.search.Weight
      org.apache.lucene.search.spans.SpanWeight

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    BoostingTermWeight, PayloadNearSpanWeight, PayloadTermWeight

Expert-only. Public for use by other weight implementations
Field Summary
protected  Similarity similarity     
protected  float value     
protected  float idf     
protected  float queryNorm     
protected  float queryWeight     
protected  Set<Term> terms     
protected  SpanQuery query     
Constructor:
 public SpanWeight(SpanQuery query,
    Searcher searcher) throws IOException 
Method from org.apache.lucene.search.spans.SpanWeight 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.spans.SpanWeight Detail:
 public Explanation explain(IndexReader reader,
    int doc) throws IOException 
 public Query getQuery() 
 public float getValue() 
 public  void normalize(float queryNorm) 
 public Scorer scorer(IndexReader reader,
    boolean scoreDocsInOrder,
    boolean topScorer) throws IOException 
 public float sumOfSquaredWeights() throws IOException