Typesense icon

Typesense

Interact with the Typesense search platform

Collection → Delete

AI-generated

Overview

This node interacts with the Typesense search platform, specifically allowing users to delete a collection from their Typesense instance. It is useful for managing search data by removing entire collections that are no longer needed or relevant. For example, a user might delete a collection to clear outdated search data or to reorganize their search infrastructure.

Use Case Examples

  1. Deleting a collection named 'products' to remove all product search data from the Typesense instance.
  2. Removing a test collection after completing development or testing phases.

Properties

Name Meaning
Collection Name The identifier of the collection to delete from the Typesense instance. This is a required field and is selected from existing collections loaded dynamically.

Output

JSON

  • success - Indicates whether the collection deletion was successful.
  • message - Additional information or error message related to the deletion operation.

Dependencies

  • Requires an API key credential for authenticating with the Typesense instance.

Troubleshooting

  • If the collection name is not selected or invalid, the node will throw an error indicating the collection is not found.
  • Errors related to API connectivity or authentication failures may occur if the Typesense API key credential is missing or incorrect.
  • If the collection does not exist or has already been deleted, the node will return an error message from the Typesense API.

Links

Discussion