Skip to content

Autocompleter not sharing the same client pool #35

@filipecosta90

Description

@filipecosta90

@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
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions