org.apache.solr.search
Class SolrConstantScoreQuery.ConstantScorer

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

protected class SolrConstantScoreQuery.ConstantScorer
extends Scorer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer
Scorer.ScorerVisitor<P extends Query,C extends Query,S extends Scorer>
 
Field Summary
 
Fields inherited from class org.apache.lucene.search.Scorer
weight
 
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
 
Constructor Summary
SolrConstantScoreQuery.ConstantScorer(Similarity similarity, IndexReader reader, SolrConstantScoreQuery.ConstantWeight w)
           
 
Method Summary
 int advance(int target)
           
 int docID()
           
 Explanation explain(int doc)
           
 int nextDoc()
           
 float score()
           
 
Methods inherited from class org.apache.lucene.search.Scorer
freq, getSimilarity, score, score, visitScorers, visitSubScorers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SolrConstantScoreQuery.ConstantScorer

public SolrConstantScoreQuery.ConstantScorer(Similarity similarity,
                                             IndexReader reader,
                                             SolrConstantScoreQuery.ConstantWeight w)
                                      throws IOException
Throws:
IOException
Method Detail

nextDoc

public int nextDoc()
            throws IOException
Specified by:
nextDoc in class DocIdSetIterator
Throws:
IOException

docID

public int docID()
Specified by:
docID in class DocIdSetIterator

score

public float score()
            throws IOException
Specified by:
score in class Scorer
Throws:
IOException

advance

public int advance(int target)
            throws IOException
Specified by:
advance in class DocIdSetIterator
Throws:
IOException

explain

public Explanation explain(int doc)
                    throws IOException
Throws:
IOException