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.IndexManager GetIndex(ctx context.Context, uid string) (meili.IndexManager, error) IsExistsIndex(ctx context.Context, 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(ctx context.Context) *meili.Stats IndexStats(ctx context.Context, indexUID string) *meili.StatsIndex Version() string }
Click to show internal directories.
Click to hide internal directories.