protected class SolrConstantScoreQuery.ConstantScorer extends Scorer
NO_MORE_DOCS| Constructor and Description |
|---|
SolrConstantScoreQuery.ConstantScorer(Similarity similarity,
IndexReader reader,
SolrConstantScoreQuery.ConstantWeight w) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
int |
docID() |
Explanation |
explain(int doc) |
int |
nextDoc() |
float |
score() |
freq, getSimilarity, score, score, visitScorers, visitSubScorerspublic SolrConstantScoreQuery.ConstantScorer(Similarity similarity, IndexReader reader, SolrConstantScoreQuery.ConstantWeight w) throws IOException
IOExceptionpublic int nextDoc()
throws IOException
nextDoc in class DocIdSetIteratorIOExceptionpublic int docID()
docID in class DocIdSetIteratorpublic float score()
throws IOException
score in class ScorerIOExceptionpublic int advance(int target)
throws IOException
advance in class DocIdSetIteratorIOExceptionpublic Explanation explain(int doc) throws IOException
IOException