I am looking for some examples or documentation to help me know if it is possible to do a _update_by_query with the PHP API. I have seen examples in the JS section, but I can't find anything on the subject in PHP
Using curl or kibana
POST analyzers/_update_by_query
{
"script": {
"source": "ctx._source.name = 'Cambiame'",
"lang": "painless"
},
"query": {
"term": {
"modem_id": {
"value": 1
}
}
}
}