public class ValueSourceScorer
extends org.apache.lucene.search.Scorer
Modifier and Type | Field and Description |
---|---|
protected boolean |
checkDeletes |
private int |
doc |
protected int |
maxDoc |
protected org.apache.lucene.index.IndexReader |
reader |
protected DocValues |
values |
Modifier | Constructor and Description |
---|---|
protected |
ValueSourceScorer(org.apache.lucene.index.IndexReader reader,
DocValues values) |
Modifier and Type | Method and Description |
---|---|
int |
advance(int target) |
int |
doc() |
int |
docID() |
org.apache.lucene.search.Explanation |
explain(int doc) |
org.apache.lucene.index.IndexReader |
getReader() |
boolean |
matches(int doc) |
boolean |
matchesValue(int doc) |
boolean |
next() |
int |
nextDoc() |
float |
score() |
void |
setCheckDeletes(boolean checkDeletes) |
boolean |
skipTo(int target) |
protected org.apache.lucene.index.IndexReader reader
private int doc
protected final int maxDoc
protected final DocValues values
protected boolean checkDeletes
protected ValueSourceScorer(org.apache.lucene.index.IndexReader reader, DocValues values)
public org.apache.lucene.index.IndexReader getReader()
public void setCheckDeletes(boolean checkDeletes)
public boolean matches(int doc)
public boolean matchesValue(int doc)
public int docID()
docID
in class org.apache.lucene.search.DocIdSetIterator
public int nextDoc() throws java.io.IOException
nextDoc
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public int advance(int target) throws java.io.IOException
advance
in class org.apache.lucene.search.DocIdSetIterator
java.io.IOException
public int doc()
public boolean next()
public boolean skipTo(int target)
public float score() throws java.io.IOException
score
in class org.apache.lucene.search.Scorer
java.io.IOException
public org.apache.lucene.search.Explanation explain(int doc) throws java.io.IOException
java.io.IOException