Th script could iterate and do something like this for example:
{
"script": "for ($a: ctx._source.association) { if ($a.code == 546)
$a.imagepath='zzz'; }"
}
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/fa3e31ae-f5c0-42e3-b050-de5192e11add%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.