public class NormalizeSortComparator
extends org.apache.lucene.search.FieldComparatorSource
NormalizeSortComparator
implements a FieldComparator
which
compares the lower-cased and normalized string values of a base sort comparator.Constructor and Description |
---|
NormalizeSortComparator(org.apache.lucene.search.FieldComparatorSource base)
Creates a new upper case sort comparator.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.FieldComparator<?> |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed) |
public NormalizeSortComparator(org.apache.lucene.search.FieldComparatorSource base)
base
- the base sort comparator source.public org.apache.lucene.search.FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
newComparator
in class org.apache.lucene.search.FieldComparatorSource
IOException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.