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 booleanhasPayloadsprivate ByteArrayDataInputreaderAprivate ByteArrayDataInputreaderBprivate BytesRefscratchAprivate BytesRefscratchB
-
Constructor Summary
Constructors Constructor Description AnalyzingComparator(boolean hasPayloads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(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
-
-