|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.search.DocIdSetIterator org.apache.lucene.search.Scorer org.apache.jackrabbit.core.query.lucene.QueryHitsQuery.QueryHitsQueryScorer
public class QueryHitsQuery.QueryHitsQueryScorer
the scorer implementation for this query.
Constructor Summary | |
---|---|
protected |
QueryHitsQuery.QueryHitsQueryScorer(org.apache.lucene.index.IndexReader reader,
org.apache.lucene.search.Similarity similarity)
Creates a new scorer. |
Method Summary | |
---|---|
int |
doc()
|
org.apache.lucene.search.Explanation |
explain(int doc)
|
boolean |
next()
|
float |
score()
|
boolean |
skipTo(int target)
|
Methods inherited from class org.apache.lucene.search.Scorer |
---|
getSimilarity, score, score |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public boolean next() throws IOException
next
in class org.apache.lucene.search.DocIdSetIterator
IOException
public int doc()
doc
in class org.apache.lucene.search.DocIdSetIterator
public float score() throws IOException
score
in class org.apache.lucene.search.Scorer
IOException
public boolean skipTo(int target) throws IOException
skipTo
in class org.apache.lucene.search.DocIdSetIterator
IOException
public org.apache.lucene.search.Explanation explain(int doc) throws IOException
explain
in class org.apache.lucene.search.Scorer
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |