public class ValueSourceScorer extends Scorer
Modifier and Type | Field and Description |
---|---|
protected boolean |
checkDeletes |
protected int |
maxDoc |
protected IndexReader |
reader |
protected DocValues |
values |
NO_MORE_DOCS
Modifier | Constructor and Description |
---|---|
protected |
ValueSourceScorer(IndexReader reader,
DocValues values) |
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
int |
doc() |
int |
docID() |
Explanation |
explain(int doc) |
IndexReader |
getReader() |
boolean |
matches(int doc) |
boolean |
matchesValue(int doc) |
boolean |
next() |
int |
nextDoc() |
float |
score() |
void |
setCheckDeletes(boolean checkDeletes) |
boolean |
skipTo(int target) |
freq, getSimilarity, score, score, visitScorers, visitSubScorers
protected IndexReader reader
protected final int maxDoc
protected final DocValues values
protected boolean checkDeletes
protected ValueSourceScorer(IndexReader reader, DocValues values)
public IndexReader getReader()
public void setCheckDeletes(boolean checkDeletes)
public boolean matches(int doc)
public boolean matchesValue(int doc)
public int docID()
docID
in class DocIdSetIterator
public int nextDoc() throws IOException
nextDoc
in class DocIdSetIterator
IOException
public int advance(int target) throws IOException
advance
in class DocIdSetIterator
IOException
public int doc()
public boolean next()
public boolean skipTo(int target)
public float score() throws IOException
score
in class Scorer
IOException
public Explanation explain(int doc) throws IOException
IOException