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' ]; }