Skip to content

Commit 9ee05b0

Browse files
authored
Update note on supported Elasticsearch versions to include 8.4+ (#2151)
1 parent 2555eb4 commit 9ee05b0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

core/elasticsearch.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,19 @@ application search, security analytics, metrics, logging, etc.
88
API Platform comes natively with the **reading** support for Elasticsearch. It uses internally the official PHP client
99
for Elasticsearch: [Elasticsearch-PHP](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html).
1010

11-
Be careful, API Platform only supports Elasticsearch >= 7.11.0 < 8.0.
11+
Be careful, API Platform only supports Elasticsearch >= 7.11.0 < 8.0 and Elasticsearch >= 8.4 < 9.0. Support for
12+
Elasticsearch 8 was introduced in API Platform 3.2.
1213

1314
## Enabling Reading Support
1415

15-
To enable the reading support for Elasticsearch, simply require the Elasticsearch-PHP package using Composer:
16+
To enable the reading support for Elasticsearch, simply require the Elasticsearch-PHP package using Composer. For
17+
Elasticsearch 8:
1618

19+
```console
20+
composer require elasticsearch/elasticsearch:^8.4
21+
```
22+
23+
For Elasticsearch 7:
1724
```console
1825
composer require elasticsearch/elasticsearch:^7.11
1926
```

0 commit comments

Comments
 (0)