From 5624123e1b74b422267d4904ab772833da422bb2 Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Mon, 7 Jan 2019 18:05:23 -0500 Subject: [PATCH] Add 'max_concurrent_searches' to msearch whitelist --- src/Elasticsearch/Endpoints/Msearch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Elasticsearch/Endpoints/Msearch.php b/src/Elasticsearch/Endpoints/Msearch.php index 93be90c6e..9849a98be 100644 --- a/src/Elasticsearch/Endpoints/Msearch.php +++ b/src/Elasticsearch/Endpoints/Msearch.php @@ -78,7 +78,8 @@ public function getParamWhitelist() return array( 'search_type', 'typed_keys', - 'max_concurrent_shard_requests' + 'max_concurrent_shard_requests', + 'max_concurrent_searches' ); }