From 2c6cd300e6b6839a1a1179e9e42b05efe049338b Mon Sep 17 00:00:00 2001 From: Zachary Tong Date: Thu, 26 Jan 2017 15:48:24 -0500 Subject: [PATCH] Whitelist 'include_segment_file_sizes' in Indices/Stats endpoint --- src/Elasticsearch/Endpoints/Indices/Stats.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Elasticsearch/Endpoints/Indices/Stats.php b/src/Elasticsearch/Endpoints/Indices/Stats.php index 899afc6df..bbdc1d2fc 100644 --- a/src/Elasticsearch/Endpoints/Indices/Stats.php +++ b/src/Elasticsearch/Endpoints/Indices/Stats.php @@ -71,7 +71,8 @@ public function getParamWhitelist() 'human', 'level', 'types', - 'metric' + 'metric', + 'include_segment_file_sizes' ); }