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