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 {