Updating a record in elastic search

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 :frowning:
i have prepared by object which needs to be updated how to i pass it as a payload?


it is exactly the same as storing the document initially. The document will be overwritten.


You can use the index api to overwrite existing documents

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.