org.cdlib.xtf.textEngine
Class TotalHitsComparator

Object
  extended by TotalHitsComparator
All Implemented Interfaces:
Serializable, SortComparatorSource

public class TotalHitsComparator
extends Object
implements SortComparatorSource

See Also:
Serialized Form

Nested Class Summary
private  class TotalHitsComparator.HitsComp
           
 
Constructor Summary
TotalHitsComparator()
           
 
Method Summary
 ScoreDocComparator newComparator(IndexReader reader, String fieldName)
          Make a comparator for the given field using the given reader
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TotalHitsComparator

public TotalHitsComparator()
Method Detail

newComparator

public ScoreDocComparator newComparator(IndexReader reader,
                                        String fieldName)
                                 throws IOException
Make a comparator for the given field using the given reader

Specified by:
newComparator in interface SortComparatorSource
Throws:
IOException