func (a *Autocompleter) Suggest(prefix string, num int, fuzzy bool) (ret []Suggestion, err error) {
	conn := a.pool.Get()
	defer conn.Close()

	seropts := DefaultSuggestOptions
	seropts.Num = num
	seropts.Fuzzy = fuzzy
	args, inc := a.Serialize(prefix, seropts)

	vals, err := redis.Strings(conn.Do("FT.SUGGET", args...))
	if err != nil {
		return nil, err
	}

	ret = ProcessSugGetVals(vals, inc, true, false)

	return
}
// Suggest gets completion suggestions from the Autocompleter dictionary to the given prefix.
// If fuzzy is set, we also complete for prefixes that are in 1 Levenshten distance from the
// given prefix
//
// Deprecated: Please use SuggestOpts() instead
Suggest gets completion suggestions from the Autocompleter dictionary to the given prefix.
If fuzzy is set, we also complete for prefixes that are in 1 Levenshten distance from the
given prefix

Please use SuggestOpts() instead
// Suggest gets completion suggestions from the Autocompleter dictionary to the given prefix . // If fuzzy is set we also complete for prefixes that are in 1 Levenshten distance from the // given prefix // // Deprecated : Please use SuggestOpts () instead
func (a *Autocompleter) Suggest(prefix string, num int, fuzzy bool) (ret []Suggestion, err error) {
	conn := a.pool.Get()
	defer conn.Close()
	seropts := DefaultSuggestOptions
	seropts.Num = num
	seropts.Fuzzy = fuzzy
	args, inc := a.Serialize(prefix, seropts)
	vals, err := redis.Strings(conn.Do("FT.SUGGET", args...))
	if err != nil {
		return nil, err
	}
	ret = ProcessSugGetVals(vals, inc, true, false)
	return
}
func ( a * Autocompleter ) Suggest ( prefix string , num int , fuzzy bool ) ( ret [ ] Suggestion , err error ) { conn := a . pool . Get ( ) defer conn . Close ( ) seropts := DefaultSuggestOptions seropts . Num = num seropts . Fuzzy = fuzzy args , inc := a . Serialize ( prefix , seropts ) vals , err := redis . Strings ( conn . Do ( " " , args ... ) ) if err != nil { return nil , err } ret = ProcessSugGetVals ( vals , inc , true , false ) return }
Suggest gets completion suggestions from the Autocompleter dictionary to the given prefix.
Suggest gets completion suggestions from the Autocompleter dictionary to the given prefix .