org.apache.solr.search.function
Class FunctionQuery.AllScorer

java.lang.Object
  extended by org.apache.lucene.search.DocIdSetIterator
      extended by org.apache.lucene.search.Scorer
          extended by org.apache.solr.search.function.FunctionQuery.AllScorer
Enclosing class:
FunctionQuery

protected class FunctionQuery.AllScorer
extends Scorer


Field Summary
 
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS
 
Constructor Summary
FunctionQuery.AllScorer(Similarity similarity, IndexReader reader, FunctionQuery.FunctionWeight w)
           
 
Method Summary
 int advance(int target)
           
 int doc()
           
 int docID()
           
 Explanation explain(int doc)
           
 boolean next()
           
 int nextDoc()
           
 float score()
           
 boolean skipTo(int target)
           
 
Methods inherited from class org.apache.lucene.search.Scorer
getSimilarity, score, score, score, score
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionQuery.AllScorer

public FunctionQuery.AllScorer(Similarity similarity,
                               IndexReader reader,
                               FunctionQuery.FunctionWeight w)
                        throws IOException
Throws:
IOException
Method Detail

docID

public int docID()
Overrides:
docID in class DocIdSetIterator

nextDoc

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

advance

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

next

public boolean next()
             throws IOException
Overrides:
next in class DocIdSetIterator
Throws:
IOException

doc

public int doc()
Overrides:
doc in class DocIdSetIterator

score

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

skipTo

public boolean skipTo(int target)
               throws IOException
Overrides:
skipTo in class DocIdSetIterator
Throws:
IOException

explain

public Explanation explain(int doc)
                    throws IOException
Overrides:
explain in class Scorer
Throws:
IOException


Copyright © 2009 Apache Software Foundation. All Rights Reserved.