@gkorland @MeirShpilraien we should refactor this and remove:
// NewAutocompleter creates a new Autocompleter with the given host and key name
func NewAutocompleter(addr, name string) *Autocompleter
Autocompleter should only have:
// Autocompleter implements a redisearch auto-completer API
type Autocompleter struct {
name string
}
instead of the current:
// Autocompleter implements a redisearch auto-completer API
type Autocompleter struct {
pool *redis.Pool
name string
}