Hi Team,
I want to completely update a record (no partial update). How do i update it? Do i use a bulk api or update by query can some share me the syntax hard to find in the documentation
i have prepared by object which needs to be updated how to i pass it as a payload?
Hey,
it is exactly the same as storing the document initially. The document will be overwritten.
--Alex
You can use the index api to overwrite existing documents
https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.