protected class CompareQuery.CompareScorer
extends org.apache.lucene.search.Scorer
Modifier | Constructor and Description |
---|---|
protected |
CompareQuery.CompareScorer(org.apache.lucene.index.IndexReader reader,
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 CompareQuery.CompareScorer(org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.Weight weight)
public int docID()
docID
in class org.apache.lucene.search.DocIdSetIterator
DocIdSetIterator.docID()
public int nextDoc() throws IOException
nextDoc
in class org.apache.lucene.search.DocIdSetIterator
IOException
DocIdSetIterator.nextDoc()
public int advance(int target) throws IOException
advance
in class org.apache.lucene.search.DocIdSetIterator
IOException
DocIdSetIterator.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.Scorer
Scorer.score()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.