From c7ac3ac33d708034dc577d1b1c36f60909183f59 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Tue, 9 Jun 2020 20:37:25 +0200 Subject: [PATCH] Add rest_total_hits_as_int to allowed Uri Params --- src/Search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Search.php b/src/Search.php index 89726af4..da8372b0 100644 --- a/src/Search.php +++ b/src/Search.php @@ -752,6 +752,7 @@ public function addUriParam($name, $value) 'typed_keys', 'pre_filter_shard_size', 'ignore_unavailable', + 'rest_total_hits_as_int', ])) { $this->uriParams[$name] = $value; } else {