From 9f4f0dfa331c4f50d2c88c0068afd3062e6ea353 Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Mon, 20 May 2019 16:08:56 +0200 Subject: [PATCH] Added track_total_hits in search endpoint --- src/Elasticsearch/Endpoints/Search.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Elasticsearch/Endpoints/Search.php b/src/Elasticsearch/Endpoints/Search.php index 7d86b8663..ad35a750b 100644 --- a/src/Elasticsearch/Endpoints/Search.php +++ b/src/Elasticsearch/Endpoints/Search.php @@ -105,7 +105,8 @@ public function getParamWhitelist() 'typed_keys', 'pre_filter_shard_size', 'rest_total_hits_as_int', - 'seq_no_primary_term' + 'seq_no_primary_term', + 'track_total_hits' ); }