Module org.apache.lucene.suggest
Class AnalyzingSuggester.AnalyzingComparator
- java.lang.Object
-
- org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester.AnalyzingComparator
-
- All Implemented Interfaces:
java.util.Comparator<BytesRef>
- Enclosing class:
- AnalyzingSuggester
private static class AnalyzingSuggester.AnalyzingComparator extends java.lang.Object implements java.util.Comparator<BytesRef>
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
hasPayloads
private ByteArrayDataInput
readerA
private ByteArrayDataInput
readerB
private BytesRef
scratchA
private BytesRef
scratchB
-
Constructor Summary
Constructors Constructor Description AnalyzingComparator(boolean hasPayloads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(BytesRef a, BytesRef b)
-
-
-
Field Detail
-
hasPayloads
private final boolean hasPayloads
-
readerA
private final ByteArrayDataInput readerA
-
readerB
private final ByteArrayDataInput readerB
-
scratchA
private final BytesRef scratchA
-
scratchB
private final BytesRef scratchB
-
-