private static class AnalyzingSuggester.AnalyzingComparator extends java.lang.Object implements java.util.Comparator<BytesRef>
Modifier and Type | Field and Description |
---|---|
private boolean |
hasPayloads |
private ByteArrayDataInput |
readerA |
private ByteArrayDataInput |
readerB |
private BytesRef |
scratchA |
private BytesRef |
scratchB |
Constructor and Description |
---|
AnalyzingComparator(boolean hasPayloads) |
Modifier and Type | Method and Description |
---|---|
int |
compare(BytesRef a,
BytesRef b) |
private final boolean hasPayloads
private final ByteArrayDataInput readerA
private final ByteArrayDataInput readerB
private final BytesRef scratchA
private final BytesRef scratchB