public interface SortComparatorSource extends Serializable
Created: Apr 21, 2004 3:49:28 PM
| Modifier and Type | Method and Description |
|---|---|
ScoreDocComparator |
newComparator(IndexReader reader,
String fieldname)
Creates a comparator for the field in the given index.
|
ScoreDocComparator newComparator(IndexReader reader, String fieldname) throws IOException
reader - Index to create comparator for.fieldname - Name of the field to create comparator for.IOException - If an error occurs reading the index.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.