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.DocIdSetIterator
IOException
public int docID()
docID
in class org.apache.lucene.search.DocIdSetIterator
public float score() throws IOException
score
in class org.apache.lucene.search.Scorer
IOException
public int advance(int target) throws IOException
advance
in class org.apache.lucene.search.DocIdSetIterator
IOException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.