From 8054d23910bc19aba90af4bf50d17696f1a4e51f Mon Sep 17 00:00:00 2001 From: Chris Pratt Date: Sun, 3 Dec 2023 16:59:59 -0500 Subject: [PATCH] added highlight to search endpoint whitelist Signed-off-by: Chris Pratt --- src/OpenSearch/Endpoints/Search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenSearch/Endpoints/Search.php b/src/OpenSearch/Endpoints/Search.php index 3898143d..9dc36469 100644 --- a/src/OpenSearch/Endpoints/Search.php +++ b/src/OpenSearch/Endpoints/Search.php @@ -78,7 +78,8 @@ public function getParamWhitelist(): array 'batched_reduce_size', 'max_concurrent_shard_requests', 'pre_filter_shard_size', - 'rest_total_hits_as_int' + 'rest_total_hits_as_int', + 'highlight' ]; }