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

Direct Known Subclasses:
    PayloadTermSpanScorer, PayloadNearSpanScorer, BoostingSpanScorer

Public for extension only.
Field Summary
protected  Spans spans     
protected  Weight weight     
protected  byte[] norms     
protected  float value     
protected  boolean more     
protected  int doc     
protected  float freq     
Fields inherited from org.apache.lucene.search.DocIdSetIterator:
NO_MORE_DOCS
Constructor:
 protected SpanScorer(Spans spans,
    Weight weight,
    Similarity similarity,
    byte[] norms) throws IOException 
Method from org.apache.lucene.search.spans.SpanScorer Summary:
advance,   docID,   explain,   nextDoc,   score,   setFreqCurrentDoc
Methods from org.apache.lucene.search.Scorer:
getSimilarity,   score,   score,   score
Methods from org.apache.lucene.search.DocIdSetIterator:
advance,   docID,   nextDoc
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.spans.SpanScorer Detail:
 public int advance(int target) throws IOException 
 public int docID() 
 protected Explanation explain(int doc) throws IOException 
    This method is no longer an official member of Scorer , but it is needed by SpanWeight to build an explanation.
 public int nextDoc() throws IOException 
 public float score() throws IOException 
 protected boolean setFreqCurrentDoc() throws IOException