describe_index
endpoint to get a complete description of a specific index:
delete_index
operation to delete a pod-based index and all of its associated resources.
403 - FORBIDDEN
status with the following error:
metadata_config
parameter.
metadata_config
parameter is a JSON object containing the names of the metadata fields to index.
genre
metadata field. Queries against this index that filter for the genre
metadata field may return results; queries that filter for other metadata fields behave as though those fields do not exist.
2024-07
, Python SDK v5.0.0, Node.js SDK v3.0.0, Java SDK v2.0.0, or Go SDK v1.0.0 or later.deletion_protection
parameter to enabled
.
To enable deletion protection when creating a new index:
403 - FORBIDDEN
status with the following error:
delete
operation. This deletes all records in the namespace that match the filter expression.
For example, the following code deletes all records with a genre
field set to documentary
from namespace example-namespace
: