org.compass.core.lucene.engine.all
Class AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer

java.lang.Object
  extended by org.apache.lucene.search.DocIdSetIterator
      extended by org.apache.lucene.search.Scorer
          extended by org.apache.lucene.search.spans.SpanScorer
              extended by org.compass.core.lucene.engine.all.AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer
Enclosing class:
AllBoostingTermQuery.AllBoostingTermWeight

 class AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer
extends SpanScorer


Field Summary
(package private)  byte[] payload
           
protected  float payloadScore
           
 
Fields inherited from class org.apache.lucene.search.spans.SpanScorer
doc, firstTime, freq, more, norms, spans, value, weight
 
Constructor Summary
AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer(TermSpans spans, Weight weight, Similarity similarity, byte[] norms)
           
 
Method Summary
 Explanation explain(int doc)
           
protected  void processPayload(Similarity similarity)
           
 float score()
           
protected  boolean setFreqCurrentDoc()
           
 
Methods inherited from class org.apache.lucene.search.spans.SpanScorer
doc, next, skipTo
 
Methods inherited from class org.apache.lucene.search.Scorer
getSimilarity, score, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

payload

byte[] payload

payloadScore

protected float payloadScore
Constructor Detail

AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer

public AllBoostingTermQuery.AllBoostingTermWeight.BoostingSpanScorer(TermSpans spans,
                                                                     Weight weight,
                                                                     Similarity similarity,
                                                                     byte[] norms)
                                                              throws IOException
Throws:
IOException
Method Detail

setFreqCurrentDoc

protected boolean setFreqCurrentDoc()
                             throws IOException
Overrides:
setFreqCurrentDoc in class SpanScorer
Throws:
IOException

processPayload

protected void processPayload(Similarity similarity)
                       throws IOException
Throws:
IOException

score

public float score()
            throws IOException
Overrides:
score in class SpanScorer
Throws:
IOException

explain

public Explanation explain(int doc)
                    throws IOException
Overrides:
explain in class SpanScorer
Throws:
IOException


Copyright (c) 2004-2008 The Compass Project.