protected class SolrConstantScoreQuery.ConstantScorer extends Scorer
Scorer.ChildScorerFLAG_FREQS, FLAG_NONENO_MORE_DOCS| Constructor and Description |
|---|
SolrConstantScoreQuery.ConstantScorer(AtomicReaderContext context,
SolrConstantScoreQuery.ConstantWeight w,
float theScore,
Bits acceptDocs) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
int |
freq() |
int |
nextDoc() |
float |
score() |
getChildren, getWeightattributesempty, slowAdvancepublic SolrConstantScoreQuery.ConstantScorer(AtomicReaderContext context, SolrConstantScoreQuery.ConstantWeight w, float theScore, Bits acceptDocs) 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 freq()
throws IOException
freq in class DocsEnumIOExceptionpublic int advance(int target)
throws IOException
advance in class DocIdSetIteratorIOExceptionpublic long cost()
cost in class DocIdSetIteratorCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.