protected class FunctionQuery.AllScorer extends Scorer
Scorer.ChildScorerNO_MORE_DOCS| Constructor and Description |
|---|
FunctionQuery.AllScorer(LeafReaderContext context,
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() |
asTwoPhaseIterator, getChildren, getWeightall, empty, slowAdvancepublic FunctionQuery.AllScorer(LeafReaderContext context, 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 ScorerIOExceptionpublic Explanation explain(int doc) throws IOException
IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.