public final class CaseInsensitiveSortComparator
extends org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
org.apache.lucene.search.FieldComparator.ByteComparator, org.apache.lucene.search.FieldComparator.DocComparator, org.apache.lucene.search.FieldComparator.DoubleComparator, org.apache.lucene.search.FieldComparator.FloatComparator, org.apache.lucene.search.FieldComparator.IntComparator, org.apache.lucene.search.FieldComparator.LongComparator, org.apache.lucene.search.FieldComparator.NumericComparator<T extends Number>, org.apache.lucene.search.FieldComparator.RelevanceComparator, org.apache.lucene.search.FieldComparator.ShortComparator, org.apache.lucene.search.FieldComparator.TermOrdValComparator, org.apache.lucene.search.FieldComparator.TermValComparator
Modifier and Type | Method and Description |
---|---|
int |
compare(int slot1,
int slot2) |
int |
compareBottom(int doc) |
int |
compareDocToValue(int doc,
org.apache.lucene.util.BytesRef value) |
int |
compareValues(org.apache.lucene.util.BytesRef val1,
org.apache.lucene.util.BytesRef val2) |
void |
copy(int slot,
int doc) |
void |
setBottom(int bottom) |
org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef> |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
org.apache.lucene.util.BytesRef |
value(int slot) |
public int compare(int slot1, int slot2)
compare
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public int compareBottom(int doc)
compareBottom
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public void copy(int slot, int doc)
copy
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef> setNextReader(org.apache.lucene.index.AtomicReaderContext context) throws IOException
setNextReader
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
IOException
public void setBottom(int bottom)
setBottom
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public org.apache.lucene.util.BytesRef value(int slot)
value
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public int compareValues(org.apache.lucene.util.BytesRef val1, org.apache.lucene.util.BytesRef val2)
compareValues
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
public int compareDocToValue(int doc, org.apache.lucene.util.BytesRef value)
compareDocToValue
in class org.apache.lucene.search.FieldComparator<org.apache.lucene.util.BytesRef>
Copyright © 2003–2019 Atlassian. All rights reserved.