From 3a7e7d040c224d49c66731d09de3fc889f300f70 Mon Sep 17 00:00:00 2001 From: Daniel Lienert Date: Wed, 1 Nov 2023 21:15:58 +0100 Subject: [PATCH] TASK: Remove include_type_name default parameter The parameter was previously deprecated and removed in elasticsearch 8 --- Classes/Domain/Model/Mapping.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Domain/Model/Mapping.php b/Classes/Domain/Model/Mapping.php index 9d55fca..8fee1d3 100644 --- a/Classes/Domain/Model/Mapping.php +++ b/Classes/Domain/Model/Mapping.php @@ -100,7 +100,7 @@ public function apply(): Response { $content = json_encode($this->asArray()); - return $this->type->request('PUT', '/_mapping', ['include_type_name' => 'false'], $content); + return $this->type->request('PUT', '/_mapping', [], $content); } /**