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