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
- Field to create comparator for.IOException
- If an error occurs reading the index.Copyright © 2024 GATE. All rights reserved.