Document operationsElasticsearch
POST <index>/_update/<id>
Perform partial updates or scripted transforms on documents.
Command
curl -X POST "http://:9200//_update/?pretty" -H 'Content-Type: application/json' -d '{"doc":{"status":"processed"}}'
Example usage
Apply partial updates to document fields without reindexing everything.
curl -X POST "http://<host>:9200/<index>/_update/<id>?pretty" -H 'Content-Type: application/json' -d '{"doc":{"status":"processed"}}'
Related tags
Document operationssearchobservabilityrest-api