public class QueryHitsQuery.QueryHitsQueryScorer
extends org.apache.lucene.search.Scorer
| Modifier | Constructor and Description | 
|---|---|
| protected  | QueryHitsQueryScorer(org.apache.lucene.index.IndexReader reader,
                    org.apache.lucene.search.Similarity similarity)Creates a new scorer. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | advance(int target) | 
| int | docID() | 
| int | nextDoc() | 
| float | score() | 
protected QueryHitsQueryScorer(org.apache.lucene.index.IndexReader reader,
                               org.apache.lucene.search.Similarity similarity)
                        throws IOException
reader - the index reader.similarity - the similarity implementation.IOException - if an error occurs while reading from the index.public 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 advance(int target)
            throws IOException
advance in class org.apache.lucene.search.DocIdSetIteratorIOExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.