@Deprecated public class DistanceFieldComparatorSource extends FieldComparatorSource
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Constructor and Description |
---|
DistanceFieldComparatorSource(Filter distanceFilter)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Deprecated.
|
FieldComparator |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed)
Deprecated.
Creates a comparator for the field in the given index.
|
public DistanceFieldComparatorSource(Filter distanceFilter)
public void cleanUp()
public FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
FieldComparatorSource
newComparator
in class FieldComparatorSource
fieldname
- Name of the field to create comparator for.IOException
- If an error occurs reading the index.