org.apache.lucene.search.spans
Class SpanScorer

Object
  extended by Scorer
      extended by SpanScorer
Direct Known Subclasses:
SpanRecordingScorer

 class SpanScorer
extends Scorer


Field Summary
protected  int doc
           
protected  boolean firstTime
           
protected  float freq
           
protected  boolean more
           
protected  Spans spans
           
protected  float value
           
protected  Weight weight
           
 
Constructor Summary
SpanScorer(Spans spans, Weight weight, Similarity similarity)
           
 
Method Summary
protected  boolean advance()
           
 int doc()
           
 Explanation explain(int target)
           
 boolean next()
           
 float score()
           
 boolean skipTo(int target)
           
 
Methods inherited from class Scorer
getSimilarity, score, score
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spans

protected Spans spans

weight

protected Weight weight

value

protected float value

firstTime

protected boolean firstTime

more

protected boolean more

doc

protected int doc

freq

protected float freq
Constructor Detail

SpanScorer

SpanScorer(Spans spans,
           Weight weight,
           Similarity similarity)
     throws IOException
Throws:
IOException
Method Detail

next

public boolean next()
             throws IOException
Specified by:
next in class Scorer
Throws:
IOException

advance

protected boolean advance()
                   throws IOException
Throws:
IOException

doc

public int doc()
Specified by:
doc in class Scorer

score

public float score()
            throws IOException
Specified by:
score in class Scorer
Throws:
IOException

skipTo

public boolean skipTo(int target)
               throws IOException
Specified by:
skipTo in class Scorer
Throws:
IOException

explain

public Explanation explain(int target)
                    throws IOException
Specified by:
explain in class Scorer
Throws:
IOException