protected class FunctionQuery.AllScorer extends Scorer
Scorer.ChildScorerFLAG_FREQS, FLAG_NONENO_MORE_DOCS| Constructor and Description |
|---|
FunctionQuery.AllScorer(AtomicReaderContext context,
Bits acceptDocs,
FunctionQuery.FunctionWeight w,
float qWeight) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
long |
cost() |
int |
docID() |
Explanation |
explain(int doc) |
int |
freq() |
int |
nextDoc() |
float |
score() |
getChildren, getWeight, score, scoreattributesempty, slowAdvancepublic FunctionQuery.AllScorer(AtomicReaderContext context, Bits acceptDocs, FunctionQuery.FunctionWeight w, float qWeight) throws IOException
IOExceptionpublic int docID()
docID in class DocIdSetIteratorpublic int nextDoc()
throws IOException
nextDoc in class DocIdSetIteratorIOExceptionpublic int advance(int target)
throws IOException
advance in class DocIdSetIteratorIOExceptionpublic float score()
throws IOException
score in class ScorerIOExceptionpublic long cost()
cost in class DocIdSetIteratorpublic int freq()
throws IOException
freq in class DocsEnumIOExceptionpublic Explanation explain(int doc) throws IOException
IOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.