Configuration object
Cancel a list of enqueued or processing tasks.
Parameters to filter the tasks.
Promise containing an EnqueuedTask
Creates a dump
Promise returning object of the enqueued task
Create a new index
The index UID
Index options
Promise returning Index instance
Create one API key
Key options
Promise returning a key
Creates a snapshot
Promise returning object of the enqueued task
Delete an index
The index UID
Promise which resolves when index is deleted successfully
Delete a list of tasks.
Parameters to filter the tasks.
Promise containing an EnqueuedTask
Get all the indexes as Index instances.
Parameters to browse the indexes
Promise returning array of raw index information
Get all API keys
Parameters to browse the indexes
Promise returning an object with keys
Gather information about an index by calling MeiliSearch and return the raw JSON response
The index UID
Promise returning index information
Get all the indexes in their raw value (no Index instances).
Parameters to browse the indexes
Promise returning array of raw index information
Get the list of all client tasks
Parameters to browse the tasks
Promise returning all tasks
Perform multiple search queries.
It is possible to make multiple search queries on the same index or on different ones
Search queries
Optional
config: Partial<Request>Additional request configuration options
Promise containing the search responses
Optional
config: Partial<Request>Swaps a list of index tuples.
List of indexes tuples to swap.
Promise returning object of the enqueued task
Update an index
The index UID
Index options to update
Promise returning Index instance after updating
Wait for a task to be finished.
Task identifier
Options on timeout and interval
Promise returning an array of tasks
Wait for multiple tasks to be finished.
Tasks identifier
Options on timeout and interval
Promise returning an array of tasks
Creates new MeiliSearch instance