Delete an Index
Delete an index you no longer need.
About This Task
Deleting an index is permanent, and it works even if pipelines still use the index. The confirmation dialog lists the affected pipelines.
Delete an Index in the UI
- Log in to Haystack Enterprise Platform and open Indexes.
- Find the index you want to delete, click More Actions next to it, and choose Delete. You can also open the index and choose Delete in the index header.
- Review the confirmation dialog:
- If no pipeline uses the index, the dialog asks you to confirm the deletion.
- If pipelines use the index, the dialog lists all of them, both deployed and undeployed, and warns that they lose access to the index data. References inside agent tools may also break.
- Confirm the deletion.
The index is deleted. If the deletion fails, an error message explains why.
Delete an Index with the API
The UI always deletes the index even if pipelines still use it. With the REST API, the Delete Index endpoint fails by default if pipelines still use the index. To delete the index anyway, set the force query parameter to true.
What To Do Next
Open the pipelines that used the deleted index and connect them to another index, or remove the index from them. Otherwise, queries to those pipelines can't retrieve data from the deleted index. For details, see Edit a Pipeline.
Related Information
Was this page helpful?