redis

package
v0.0.0-...-46813e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 Find

func Find(word string) (docs []redisearch.Document, total int, err error)

func Insert

func Insert(title string, desc string, id int) error

func Setup

func Setup()

func SpellCheck

func SpellCheck(word string) (suggestions []redisearch.MisspelledTerm, total int, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL