protected class SolrConstantScoreQuery.ConstantScorer
extends org.apache.lucene.search.Scorer
| Constructor and Description |
|---|
ConstantScorer(org.apache.lucene.index.AtomicReaderContext context,
SolrConstantScoreQuery.ConstantWeight w,
float theScore,
org.apache.lucene.util.Bits acceptDocs) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
int |
freq() |
int |
nextDoc() |
float |
score() |
public ConstantScorer(org.apache.lucene.index.AtomicReaderContext context,
SolrConstantScoreQuery.ConstantWeight w,
float theScore,
org.apache.lucene.util.Bits acceptDocs)
throws IOException
IOExceptionpublic int nextDoc()
throws IOException
nextDoc in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorpublic float score()
throws IOException
score in class org.apache.lucene.search.ScorerIOExceptionpublic int freq()
throws IOException
freq in class org.apache.lucene.index.DocsEnumIOExceptionpublic int advance(int target)
throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratorIOExceptionpublic long cost()
cost in class org.apache.lucene.search.DocIdSetIteratorCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.