public class SparseStringComparator
extends Object
implements SortComparatorSource
Modifier and Type | Class and Description |
---|---|
(package private) class |
SparseStringComparator.Entry
A single entry in the sorting table
|
(package private) static class |
SparseStringComparator.EntryComparator
Compare two entries for sorting purposes
|
private class |
SparseStringComparator.SparseComp |
Modifier and Type | Field and Description |
---|---|
private static WeakHashMap |
cache |
private static SparseStringComparator.EntryComparator |
entryComparator |
Constructor and Description |
---|
SparseStringComparator() |
Modifier and Type | Method and Description |
---|---|
ScoreDocComparator |
newComparator(IndexReader reader,
String fieldName)
Make a comparator for the given field using the given reader
|
private static final WeakHashMap cache
private static final SparseStringComparator.EntryComparator entryComparator