org.apache.lucene.search
public class ReqExclScorer extends Scorer
Scorer
implements {@link Scorer#skipTo(int)},
and it uses the skipTo() on the given scorers.
Constructor Summary | |
---|---|
ReqExclScorer(Scorer reqScorer, Scorer exclScorer) Construct a ReqExclScorer . |
Method Summary | |
---|---|
int | doc() |
Explanation | explain(int doc) |
boolean | next() |
float | score() Returns the score of the current document matching the query.
|
boolean | skipTo(int target) Skips to the first match beyond the current whose document number is
greater than or equal to a given target.
|
ReqExclScorer
.Parameters: reqScorer The scorer that must match, except where exclScorer indicates exclusion.
Returns: The score of the required scorer.
Parameters: target The target document number.
Returns: true iff there is such a match.