index_document
Index documents into Elasticsearch with schema validation and duplicate prevention, enhancing knowledge management and search efficiency.
Instructions
Index a document into Elasticsearch with optional schema validation and intelligent duplicate prevention
Input Schema
Name | Required | Description | Default |
---|---|---|---|
doc_id | No | Optional document ID - if not provided, Elasticsearch will auto-generate | |
document | Yes | Document data to index as JSON object | |
index | Yes | Name of the Elasticsearch index to store the document | |
validate_schema | No | Whether to validate document structure for knowledge base format |