Retrieve records and update a field at the same time

We did not get a response the first time. Hopefully someone can give us some guidance this time.
Is there anyway when making a query in Elasticsearch, to update a field (such as say a counter++) in each record that is selected by the query.
Thanks

No there is not. You need to first run the query and then perform the update as a separate request.