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 !!
Send the new version of the full document again.
@dadoonet What type of documentation you want ?
I did not ask for documentation.
@dadoonet : document
{
"_index":"test1",
"_type":"test",
"_id":"23354",
"_source": {
"name":"amit",
"id":45454
}
}
What is your question?
What is the best way to update the bulk objects in Elasticsearch 6.2 and how ?
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.
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
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.