org.apache.lucene.search.spans

Class SpanScorer

public class SpanScorer extends Scorer

Public for extension only.
Field Summary
protected intdoc
protected booleanfirstTime
protected floatfreq
protected booleanmore
protected byte[]norms
protected Spansspans
protected floatvalue
protected Weightweight
Constructor Summary
protected SpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)
Method Summary
intdoc()
Explanationexplain(int doc)
booleannext()
floatscore()
protected booleansetFreqCurrentDoc()
booleanskipTo(int target)

Field Detail

doc

protected int doc

firstTime

protected boolean firstTime

freq

protected float freq

more

protected boolean more

norms

protected byte[] norms

spans

protected Spans spans

value

protected float value

weight

protected Weight weight

Constructor Detail

SpanScorer

protected SpanScorer(Spans spans, Weight weight, Similarity similarity, byte[] norms)

Method Detail

doc

public int doc()

explain

public Explanation explain(int doc)

next

public boolean next()

score

public float score()

setFreqCurrentDoc

protected boolean setFreqCurrentDoc()

skipTo

public boolean skipTo(int target)
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.