org.apache.lucene.search
Class DeletionAwareConstantScoreQuery.ConstantScorer

java.lang.Object
  extended by org.apache.lucene.search.DocIdSetIterator
      extended by org.apache.lucene.search.Scorer
          extended by org.apache.lucene.search.DeletionAwareConstantScoreQuery.ConstantScorer
Enclosing class:
DeletionAwareConstantScoreQuery

protected class DeletionAwareConstantScoreQuery.ConstantScorer
extends org.apache.lucene.search.Scorer


Field Summary
 
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
 
Constructor Summary
DeletionAwareConstantScoreQuery.ConstantScorer(org.apache.lucene.search.Similarity similarity, org.apache.lucene.index.IndexReader reader, org.apache.lucene.search.Weight w)
           
 
Method Summary
 int advance(int target)
           
 int docID()
           
 int nextDoc()
           
 float score()
           
 
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

DeletionAwareConstantScoreQuery.ConstantScorer

public DeletionAwareConstantScoreQuery.ConstantScorer(org.apache.lucene.search.Similarity similarity,
                                                      org.apache.lucene.index.IndexReader reader,
                                                      org.apache.lucene.search.Weight w)
                                               throws java.io.IOException
Throws:
java.io.IOException
Method Detail

nextDoc

public int nextDoc()
            throws java.io.IOException
Specified by:
nextDoc in class org.apache.lucene.search.DocIdSetIterator
Throws:
java.io.IOException

docID

public int docID()
Specified by:
docID in class org.apache.lucene.search.DocIdSetIterator

score

public float score()
            throws java.io.IOException
Specified by:
score in class org.apache.lucene.search.Scorer
Throws:
java.io.IOException

advance

public int advance(int target)
            throws java.io.IOException
Specified by:
advance in class org.apache.lucene.search.DocIdSetIterator
Throws:
java.io.IOException