Updating a record in elastic search

(javadeveloper) #1

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?

(Alexander Reelsen) #2


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


(Clemens Pleban) #3

You can use the index api to overwrite existing documents

(system) #4

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