Delete Command for Python SDK
The delete method allows you to delete documents from your index using various criteria.Arguments
object
required
Response
int
required
The number of documents that were successfully deleted.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
index.delete(ids=["star-wars", "inception"]);
index.delete(prefix="star-");
index.delete(filter="age > 30");
Hide child attributes
index.delete(ids=["star-wars", "inception"]);
index.delete(prefix="star-");
index.delete(filter="age > 30");
Was this page helpful?