Actions24
- Documents Actions
- Indexes Actions
- Keys Actions
- Search Actions
- Settings Actions
- Tasks Actions
Overview
This node integrates with the Meilisearch API, specifically allowing management of documents within a search index. The "Delete All Document" operation under the "Documents" resource enables users to delete all documents from a specified index in Meilisearch.
Common scenarios for this operation include:
- Clearing an entire index before re-importing updated data.
- Removing outdated or irrelevant documents en masse.
- Resetting an index during development or testing phases.
For example, if you have an index named "products" and want to remove all product entries quickly, this operation will clear the index's documents without deleting the index itself.
Properties
| Name | Meaning |
|---|---|
| Index UID | The unique identifier (name) of the index from which all documents will be deleted. This is a required field. The value must be selected from existing indexes available in your Meilisearch instance. |
Output
The node outputs JSON data representing the response from the Meilisearch API after attempting to delete all documents in the specified index. Typically, this includes task information such as task status, update time, and task UID indicating the asynchronous deletion process.
No binary data output is involved in this operation.
Dependencies
- Requires connection to a Meilisearch instance via its REST API.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The base URL of the Meilisearch server must be provided in the credentials configuration.
Troubleshooting
- Invalid Index UID: If the specified index does not exist, the API will return an error. Ensure the "Index UID" property is correctly selected from existing indexes.
- Authentication Errors: Missing or incorrect API credentials will cause authorization failures. Verify that the API key/token is valid and properly set up in n8n.
- Network Issues: Connection problems to the Meilisearch server can cause request failures. Check network connectivity and server availability.
- Rate Limits or Quotas: If the Meilisearch instance enforces rate limits, excessive requests may be throttled or rejected.