org.apache.lucene.search.suggest.fst
Class FSTCompletion.Completion
java.lang.Object
org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
- All Implemented Interfaces:
- Comparable<FSTCompletion.Completion>
- Enclosing class:
- FSTCompletion
public static final class FSTCompletion.Completion
- extends Object
- implements Comparable<FSTCompletion.Completion>
A single completion for a given key.
utf8
public final BytesRef utf8
bucket
public final int bucket
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(FSTCompletion.Completion o)
- Specified by:
compareTo
in interface Comparable<FSTCompletion.Completion>
- See Also:
BytesRef.compareTo(BytesRef)