Skip to main content
For the complete documentation index for agents and LLMs, see llms.txt.

Edit an Index

Update your index.


About This Task

You can update draft indexes that aren't enabled. Once an index is enabled, it becomes read-only. To make changes to an enabled index, you have two options:

  • Duplicate the index, update the copy, and keep the original index enabled and unaffected. When you're ready, enable the updated copy and connect your pipelines to it. This way, you can switch without any downtime. We recommend this approach.
  • Disable the index, which removes all associated indexing data and temporarily prevents any query pipelines from accessing it. With this approach, you must wait until the updated index is re-enabled and indexing is complete before running queries again.

Edit an Index in Pipeline Builder

  1. Log in to Haystack Enterprise Platform and open Indexes.
  2. Find the index you want to update and make sure it's disabled.
  3. Click the index name and switch to Build. Here, you can update the index components and connections.

Duplicate an Index

Duplicating creates a copy of an index with its YAML configuration. Use this when you want to update an enabled index without downtime — duplicate it, update the copy, then enable the copy and connect your pipelines to it.

  1. Log in to Haystack Enterprise Platform and open Indexes.
  2. Find the index you want to copy, click More Actions next to it, and choose Duplicate.
  3. In the New pipeline name field, enter a name for the copy. The default name is {source-name}-copy.
  4. Click Duplicate.

You're taken to Pipeline Builder where you can edit the new index. If an index with the name you entered already exists, an inline error appears — enter a different name and try again.

What To Do Next

Once your index is updated, enable it and wait until indexing finishes.

Link your pipelines to the updated index. For details, see Edit a Pipeline.