I want to perform a bulk partial update in python for elasticsearch because I don't want to update the whole documents but only specific fields. Can you please give an example? Best thanks in advance.
Updating a field behind the scene will get the existing document, merge with the field you want to update and then reindex the whole document.
So sending the whole document again is sometimes easier.
Anyway, here is what you asked for: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.