From 6e1e8bf93b72b3e7b18b36c37f7b9a5a1e8c1887 Mon Sep 17 00:00:00 2001 From: Paula Date: Tue, 27 Jun 2023 12:40:52 +0200 Subject: [PATCH] elasticsearch 7.1 --- composer.json | 2 +- src/Bridge/Elasticsearch/ElasticsearchClient.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 115d555..d5571ea 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ "doctrine/annotations": "^1.14", "doctrine/doctrine-bundle": "^2.8", "doctrine/orm": "^2.14", - "elasticsearch/elasticsearch": "^8.0", + "elasticsearch/elasticsearch": "^7.1", "symfony/dotenv": "6.2.*", "symfony/expression-language": "6.2.*", "symfony/framework-bundle": "^6.2", diff --git a/src/Bridge/Elasticsearch/ElasticsearchClient.php b/src/Bridge/Elasticsearch/ElasticsearchClient.php index 27adcc3..1dc7078 100644 --- a/src/Bridge/Elasticsearch/ElasticsearchClient.php +++ b/src/Bridge/Elasticsearch/ElasticsearchClient.php @@ -2,8 +2,8 @@ namespace Locastic\Loggastic\Bridge\Elasticsearch; -use Elastic\Elasticsearch\Client; -use Elastic\Elasticsearch\ClientBuilder; +use Elasticsearch\Client; +use Elasticsearch\ClientBuilder; class ElasticsearchClient {