@Immutable protected static class MatchNoneQuery.NoneScorer extends org.apache.lucene.search.Scorer
| Modifier | Constructor and Description |
|---|---|
protected |
MatchNoneQuery.NoneScorer(org.apache.lucene.search.Weight weight) |
| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
int |
docID() |
int |
nextDoc() |
float |
score()
This method always returns a score of 1.0 for the current document, since only those documents that satisfy the NOT are
scored by this scorer.
|
protected MatchNoneQuery.NoneScorer(org.apache.lucene.search.Weight weight)
public int docID()
docID in class org.apache.lucene.search.DocIdSetIteratorDocIdSetIterator.docID()public int nextDoc()
nextDoc in class org.apache.lucene.search.DocIdSetIteratorDocIdSetIterator.nextDoc()public int advance(int target)
advance in class org.apache.lucene.search.DocIdSetIteratorDocIdSetIterator.advance(int)public float score()
This method always returns a score of 1.0 for the current document, since only those documents that satisfy the NOT are scored by this scorer.
score in class org.apache.lucene.search.ScorerScorer.score()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.