Home » lucene-3.0.1-src » org.apache » lucene » search » payloads » [javadoc | source]
org.apache.lucene.search.payloads
public class: PayloadNearQuery.PayloadNearSpanScorer [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.PayloadNearQuery$PayloadNearSpanScorer
Field Summary
 Spans spans     
protected  float payloadScore     
 Similarity similarity     
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:
 protected PayloadNearSpanScorer(Spans spans,
    Weight weight,
    Similarity similarity,
    byte[] norms) throws IOException 
Method from org.apache.lucene.search.payloads.PayloadNearQuery$PayloadNearSpanScorer Summary:
explain,   getPayloads,   processPayloads,   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.PayloadNearQuery$PayloadNearSpanScorer Detail:
 protected Explanation explain(int doc) throws IOException 
 public  void getPayloads(Spans[] subSpans) throws IOException 
 protected  void processPayloads(Collection<byte> payLoads,
    int start,
    int end) 
    By default, uses the PayloadFunction to score the payloads, but can be overridden to do other things.
 public float score() throws IOException 
 protected boolean setFreqCurrentDoc() throws IOException