Partial update based of field values?

Hello,

Is it possible to update nested properties on documents based on a query? I can't find any documentation on updates without specifying an ID.

I need to be able to select documents based on other fields and if they match I need to updated with a nested property.

Thanks for any info :slight_smile:

There is an update by query coming in 2.3 that might do what you want - https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html

Thanks Warkolm. I'm using Elastic Cloud which runs ES 2.3.

I tried the update_by_query approach and submitted a query that selects a nested object but i get this error [mapper_parsing_exception] Field name [article_id.original_id] cannot contain '.'

If I run the query in the _search API it works.