public abstract class FieldComparatorSource extends Object
FieldComparator for custom field sorting.| Constructor and Description |
|---|
FieldComparatorSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract FieldComparator<?> |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed)
Creates a comparator for the field in the given index.
|
public abstract FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed)
fieldname - Name of the field to create comparator for.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.