delete_document
Remove specific documents from an Elasticsearch index by specifying the index and document ID, ensuring precise data management in knowledge systems.
Instructions
Delete a document from Elasticsearch index by document ID
Input Schema
Name | Required | Description | Default |
---|---|---|---|
doc_id | Yes | Document ID to delete from the index | |
index | Yes | Name of the Elasticsearch index containing the document |
Input Schema (JSON Schema)
{
"properties": {
"doc_id": {
"description": "Document ID to delete from the index",
"title": "Doc Id",
"type": "string"
},
"index": {
"description": "Name of the Elasticsearch index containing the document",
"title": "Index",
"type": "string"
}
},
"required": [
"index",
"doc_id"
],
"type": "object"
}