Skip to content

Commit 04b9d67

Browse files
committed
AC-13818::Make ES8 to be default for 2.4.8 instead of ES7
1 parent a99b0d9 commit 04b9d67

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

app/code/Magento/Elasticsearch/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"magento/module-store": "*",
1313
"magento/module-catalog-inventory": "*",
1414
"magento/framework": "*",
15-
"magento/elasticsearch": "^1.0.0"
15+
"elasticsearch/elasticsearch": "^8.15"
1616
},
1717
"suggest": {
1818
"magento/module-config": "*"

app/code/Magento/Elasticsearch8/Model/Client/Elasticsearch.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Elasticsearch client
2020
* @deprecated Elasticsearch8 is no longer supported by Adobe
2121
* @see this class will be responsible for ES8 only
22+
* phpstan:ignore "File has calls static method. (phpStaticMethodCalls)"
2223
*/
2324
class Elasticsearch implements ClientInterface
2425
{

app/code/Magento/Elasticsearch8/Test/Unit/Model/Client/ElasticsearchTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* Class ElasticsearchTest to test Elasticsearch 8
2828
*
2929
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
30+
* phpstan:ignore "File has calls static method. (phpStaticMethodCalls)"
3031
*/
3132
class ElasticsearchTest extends TestCase
3233
{

0 commit comments

Comments
 (0)