Home » lucene-3.0.1-src » org.apache » lucene » search » payloads » [javadoc | source]
org.apache.lucene.search.payloads
protected class: PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer [javadoc | source]
java.lang.Object
   org.apache.lucene.search.DocIdSetIterator
      org.apache.lucene.search.Scorer
         org.apache.lucene.search.spans.SpanScorer
            org.apache.lucene.search.payloads.PayloadTermQuery$PayloadTermWeight$PayloadTermSpanScorer
Field Summary
protected  byte[] payload     
protected  TermPositions positions     
protected  float payloadScore     
protected  int payloadsSeen     
Fields inherited from org.apache.lucene.search.spans.SpanScorer:
spans,  weight,  norms,  value,  more,  doc,  freq
Fields inherited from org.apache.lucene.search.DocIdSetIterator:
NO_MORE_DOCS
Constructor:
 public PayloadTermSpanScorer(TermSpans spans,
    Weight weight,
    Similarity similarity,
    byte[] norms) throws IOException 
Method from org.apache.lucene.search.payloads.PayloadTermQuery$PayloadTermWeight$PayloadTermSpanScorer Summary:
explain,   getPayloadScore,   getSpanScore,   processPayload,   score,   setFreqCurrentDoc
Methods from org.apache.lucene.search.spans.SpanScorer:
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.payloads.PayloadTermQuery$PayloadTermWeight$PayloadTermSpanScorer Detail:
 protected Explanation explain(int doc) throws IOException 
 protected float getPayloadScore() 
    The score for the payload
 protected float getSpanScore() throws IOException 
    Returns the SpanScorer score only.

    Should not be overridden without good cause!

 protected  void processPayload(Similarity similarity) throws IOException 
 public float score() throws IOException 
 protected boolean setFreqCurrentDoc() throws IOException