Documentation ¶
Index ¶
- Variables
- func Autocomplete(word string) (suggestions []redisearch.Suggestion, err error)
- func Find(word string) (docs []redisearch.Document, total int, err error)
- func Insert(title string, desc string, id int) error
- func Setup()
- func SpellCheck(word string) (suggestions []redisearch.MisspelledTerm, total int, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var RedisAutocompleter *redisearch.Autocompleter
View Source
var RedisConn *redisearch.Client
Functions ¶
func Autocomplete ¶
func Autocomplete(word string) (suggestions []redisearch.Suggestion, err error)
func SpellCheck ¶
func SpellCheck(word string) (suggestions []redisearch.MisspelledTerm, total int, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.