public class QueryHitsQuery.QueryHitsQueryScorer
extends org.apache.lucene.search.Scorer
| Modifier | Constructor and Description |
|---|---|
protected |
QueryHitsQuery.QueryHitsQueryScorer(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.search.Similarity similarity)
Creates a new scorer.
|
protected QueryHitsQuery.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-2020 The Apache Software Foundation. All Rights Reserved.