Hi,
I need to update all the value of the keys named as "per_name" (key is the document Json key:value pair entry ) in all the documents in all the indexes present in my Elastic Search .
I have an update curl which takes index/Type/id
like this :
curl -XPOST 'localhost:9200/customer/doc/1/_update?pretty&pretty' -H 'Content-Type: application/json' -d'
{
"doc": { "per_name": "Jane Doe" }
}
'
For the above one , i would need to iterate on each document in each Types and then do a POST .
Is there any other way that i can directly replace the value of per_name in all the indexes in one go ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.