ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying meilisearch client for anything not wrapped here.
Create an index by uid, optionally specifying its primary key via options.
Optionaloptions: Record<string, unknown>Delete an index by uid.
Add (or replace) documents in an index. Returns the enqueued task.
Optionaloptions: Record<string, unknown>Run a search against an index and return the hits array from the response.
Optionaloptions: Record<string, unknown>Get a single document by its primary-key value.
Delete a single document by its primary-key value. Returns the enqueued task.
Get server-wide stats (database size, per-index document counts, etc.).
MeilisearchStorewraps the officialmeilisearchclient and exposes index management, document CRUD, and search as a typed, promise-based API.