Class FSTCompletion.Completion

    • Field Summary

      Fields 
      Modifier and Type Field Description
      int bucket
      source bucket (weight) of the suggestion
      BytesRef utf8
      UTF-8 bytes of the suggestion
    • Constructor Summary

      Constructors 
      Constructor Description
      Completion​(BytesRef key, int bucket)  
    • Field Detail

      • utf8

        public final BytesRef utf8
        UTF-8 bytes of the suggestion
      • bucket

        public final int bucket
        source bucket (weight) of the suggestion
    • Constructor Detail

      • Completion

        Completion​(BytesRef key,
                   int bucket)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object