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