Serializable@Deprecated public class DistanceFieldComparatorSource extends FieldComparatorSource
NOTE: This API is still in flux and might change in incompatible ways in the next release.
| Constructor | Description |
|---|---|
DistanceFieldComparatorSource(Filter distanceFilter) |
Deprecated.
|
| Modifier and Type | Method | 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
FieldComparatorSourcenewComparator in class FieldComparatorSourcefieldname - Name of the field to create comparator for.IOException - If an error occurs reading the index.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.