Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMeilisearchIsUnhealthy = errors.New("meilisearch is unhealthy") ErrIndexNotFound = errors.New("index not found") ErrTaskCanceled = errors.New("task canceled") ErrTaskFailed = errors.New("task failed") ErrTaskUnknown = errors.New("task unknown") ErrUpdateSettings = errors.New("update settings failed") )
Functions ¶
This section is empty.
Types ¶
type Meilisearch ¶
type Meilisearch interface { CreateIndex(ctx context.Context, uid, primaryKey string) error Index(uid string) *meili.Index GetIndex(uid string) (*meili.Index, error) IsExistsIndex(uid string) bool DeleteIndex(ctx context.Context, uid string) error UpdateIndexSettings(ctx context.Context, uid string, settings *config.Settings) error WaitForTask(ctx context.Context, task *meili.TaskInfo) error Stats() *meili.Stats Version() string }
Click to show internal directories.
Click to hide internal directories.