Indexes
Deleting a namespace
To delete a namespace, you must delete all records in the namespace. Once you’ve deleted all the records in the namespace, the namespace will no longer appear in the index.
You can delete all the records in a namespace using the Python client with the following approach:
For more documentation on the Delete
operation, see our API reference.
If you have several hundred records in your namespace, using delete_all=True
could negatively impact the performance of your queries. We recommend deleting the records in batches of a couple of hundred at a time and implementing a brief sleep between operations. You can batch your deletions with the following approach:
Was this page helpful?