org.apache.lucene.search
public interface SortComparatorSource extends Serializable
Created: Apr 21, 2004 3:49:28 PM
Since: 1.4
Version: $Id: SortComparatorSource.java 150348 2004-05-19 23:05:27Z tjones $
Method Summary | |
---|---|
ScoreDocComparator | newComparator(IndexReader reader, String fieldname)
Creates a comparator for the field in the given index. |
Parameters: reader Index to create comparator for. fieldname Field to create comparator for.
Returns: Comparator of ScoreDoc objects.
Throws: IOException If an error occurs reading the index.