From 90e28e6f23f0219dc7b0cebdb32aeb850de7cb78 Mon Sep 17 00:00:00 2001 From: keithhc2 Date: Tue, 17 Aug 2021 16:36:25 -0700 Subject: [PATCH] Added some context about including a script --- _opensearch/rest-api/document-apis/update-by-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_opensearch/rest-api/document-apis/update-by-query.md b/_opensearch/rest-api/document-apis/update-by-query.md index 90647b92..6b3dece2 100644 --- a/_opensearch/rest-api/document-apis/update-by-query.md +++ b/_opensearch/rest-api/document-apis/update-by-query.md @@ -10,7 +10,7 @@ nav_order: 50 Introduced 1.0 {: .label .label-purple} -You can include a query as part of your update request so OpenSearch updates all documents that match that query. +You can include a query and a script as part of your update request so OpenSearch can run the script to update all of the documents that match the query. ## Example