Class FSTCompletion.Completion
- java.lang.Object
-
- org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
-
- All Implemented Interfaces:
java.lang.Comparable<FSTCompletion.Completion>
- Enclosing class:
- FSTCompletion
public static final class FSTCompletion.Completion extends java.lang.Object implements java.lang.Comparable<FSTCompletion.Completion>
A single completion for a given key.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(FSTCompletion.Completion o)java.lang.StringtoString()
-
-
-
Field Detail
-
utf8
public final BytesRef utf8
UTF-8 bytes of the suggestion
-
bucket
public final int bucket
source bucket (weight) of the suggestion
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(FSTCompletion.Completion o)
- Specified by:
compareToin interfacejava.lang.Comparable<FSTCompletion.Completion>- See Also:
BytesRef.compareTo(BytesRef)
-
-