Actions16
- Index Actions
- Vector Actions
- Metadata Actions
- Utility Actions
Metadata → Delete Index
AI-generatedOverview
This node enables management of metadata indexes within Cloudflare Vectorize vector databases. Specifically, the "Delete Index" operation under the "Metadata" resource allows users to remove an existing metadata index from a specified vector index. Removing a metadata index disables filtering on that particular metadata property during vector queries.
Common scenarios for this node include maintaining and updating metadata filtering capabilities in vector search applications. For example, if a metadata property is no longer relevant or needs to be re-indexed differently, deleting its metadata index helps keep the vector database optimized and accurate.
Practical example: Suppose you have indexed a metadata property called "category" to filter vectors by categories during semantic searches. If you decide to stop filtering by "category," you can use this node's Delete Index operation to remove that metadata index.
Properties
| Name | Meaning |
|---|---|
| Index Name | The name of the Vectorize index from which the metadata index will be deleted. Must be lowercase, contain only letters, numbers, and hyphens. |
| Property Name | The name of the metadata property whose index you want to delete, disabling filtering on that property. |
Output
The output JSON contains:
mutationId: A unique identifier for the deletion operation mutation.propertyName: The name of the metadata property whose index was deleted.
Example output:
{
"mutationId": "some-unique-id",
"propertyName": "exampleProperty"
}
This confirms that the metadata index for the specified property has been successfully removed.
Dependencies
- Requires an API key credential for authenticating with the Cloudflare Vectorize service.
- Relies on the external Cloudflare Vectorize API to perform metadata index deletion.
- The node uses utility functions from a bundled helper module to interact with the API.
Troubleshooting
Error: Unknown metadata operation
This error occurs if an unsupported operation is specified. Ensure the operation is exactly "deleteIndex" when working with metadata deletion.Error: Invalid index name or property name
The index name must be lowercase and contain only letters, numbers, and hyphens. The property name must correspond to an existing metadata index. Verify these inputs before running the node.API authentication errors
Make sure the API key credential is correctly configured and has sufficient permissions to modify metadata indexes.Mutation failure or no effect
If the deletion does not take effect, confirm that the metadata index exists and is not currently in use by active queries.