com.google.appengine.api.search.dev
Class SimpleScorer

java.lang.Object
  extended by com.google.appengine.api.search.dev.Scorer
      extended by com.google.appengine.api.search.dev.SimpleScorer

public class SimpleScorer
extends Scorer

Scorer which orders documents using lucene build in Sort functionality.


Nested Class Summary
 class SimpleScorer.Result
          Result class specific for SimpleScorer.
 
Nested classes/interfaces inherited from class com.google.appengine.api.search.dev.Scorer
Scorer.SearchResults
 
Constructor Summary
SimpleScorer(Sort sort)
           
 
Method Summary
 Scorer.SearchResults search(IndexSearcher indexSearcher, Query q, int offset, int limit)
           
 
Methods inherited from class com.google.appengine.api.search.dev.Scorer
newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScorer

public SimpleScorer(Sort sort)
Method Detail

search

public Scorer.SearchResults search(IndexSearcher indexSearcher,
                                   Query q,
                                   int offset,
                                   int limit)
                            throws java.io.IOException
Specified by:
search in class Scorer
Throws:
java.io.IOException