Update Multiple Objects at same time

(Amit Khanduri) #1

What is the best and optimize way to update multiple objects at same time in elasticSearch 6.2 ?
I want to update the key : value pair of all the objects except one !!
Thanks in Advance !!

(David Pilato) #2

Send the new version of the full document again.

(Amit Khanduri) #3

@dadoonet What type of documentation you want ?

(David Pilato) #4

I did not ask for documentation.

(Amit Khanduri) #5

@dadoonet : document

       "_source": {

(David Pilato) #6

What is your question?

(Amit Khanduri) #7

What is the best way to update the bulk objects in Elasticsearch 6.2 and how ?

(David Pilato) #8

Send the new version of the full document again.

If you don't understand my answer or if my answer looks wrong, please provide a full recreation script as described in About the Elasticsearch category. It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

(Tom Riley) #9

Worth a look at the 'Update by query API' as it may be relevant here however your shy on details so hard to say if this is the best and optimised way to achieve what you need but worth a start.

Doc: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html

(system) closed #11

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