void function ( BytesRef arg0 , int arg1 ) { if ( arg1 < 0 || arg1 >= buckets ) { throw new IllegalArgumentException ( "srini_string" + buckets + "srini_string" + arg1 ) ; } scratch . grow ( arg0 . length + 10 ) ; scratch . clear ( ) ; scratch . append ( ( byte ) arg1 ) ; scratch . append ( arg0 ) ; sorter . add ( scratch . get ( ) ) ; }
appends a single suggestion and its weight to the internal buffers . concode_field_sep BytesRefBuilder scratch concode_elem_sep FST<Object> automaton concode_elem_sep int DEFAULT_BUCKETS concode_elem_sep int shareMaxTailLength concode_elem_sep BytesRefSorter sorter concode_elem_sep int buckets concode_field_sep FSTCompletion build concode_elem_sep FST<Object> buildAutomaton