private static final class NRTSuggesterBuilder.Entry extends java.lang.Object implements java.lang.Comparable<NRTSuggesterBuilder.Entry>
Modifier and Type | Field and Description |
---|---|
(package private) BytesRef |
payload |
(package private) long |
weight |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NRTSuggesterBuilder.Entry o) |
final BytesRef payload
final long weight
public Entry(BytesRef payload, long weight)
public int compareTo(NRTSuggesterBuilder.Entry o)
compareTo
in interface java.lang.Comparable<NRTSuggesterBuilder.Entry>