Skip to content

Commit 7a5925c

Browse files
committed
AC-8767::ES 7 deprecation and ES 8 upgrade
1 parent c6c1e1f commit 7a5925c

File tree

14 files changed

+24
-663
lines changed

14 files changed

+24
-663
lines changed

app/code/Magento/Elasticsearch/ElasticAdapter/Model/Adapter/BatchDataMapper/CategoryFieldsProviderProxy.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
*/
66
namespace Magento\Elasticsearch\ElasticAdapter\Model\Adapter\BatchDataMapper;
77

8-
use Magento\AdvancedSearch\Model\Client\ClientResolver;
98
use Magento\AdvancedSearch\Model\Adapter\DataMapper\AdditionalFieldsProviderInterface;
9+
use Magento\AdvancedSearch\Model\Client\ClientResolver;
1010

1111
/**
1212
* Proxy for data mapping of categories fields
@@ -37,6 +37,8 @@ public function __construct(
3737
}
3838

3939
/**
40+
* Get Category Fields Provider
41+
*
4042
* @return AdditionalFieldsProviderInterface
4143
*/
4244
private function getCategoryFieldsProvider()

app/code/Magento/Elasticsearch/ElasticAdapter/Model/Adapter/FieldMapper/Product/FieldProvider/FieldIndex/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Converter implements ConverterInterface
3535
];
3636

3737
/**
38-
* Get service field index type for elasticsearch 5.
38+
* Get service field index type for elasticsearch 7.x and 8.x.
3939
*
4040
* @param string $internalType
4141
* @return string|boolean

app/code/Magento/Elasticsearch/ElasticAdapter/Model/Adapter/FieldMapper/ProductFieldMapperProxy.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function __construct(
3737
}
3838

3939
/**
40+
* Get Product Field Mapper
4041
* @return FieldMapperInterface
4142
*/
4243
private function getProductFieldMapper()

app/code/Magento/Elasticsearch/ElasticAdapter/Model/Client/ClientFactoryProxy.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public function __construct(
3737
}
3838

3939
/**
40+
* Get Client Factory
41+
*
4042
* @return ClientFactoryInterface
4143
*/
4244
private function getClientFactory()

app/code/Magento/Elasticsearch/ElasticAdapter/SearchAdapter/Adapter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ class Adapter implements AdapterInterface
2727
private $mapper;
2828

2929
/**
30-
* Response Factory
31-
*
3230
* @var ResponseFactory
3331
*/
3432
private $responseFactory;

app/code/Magento/Elasticsearch/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Magento_Elasticsearch module allows using the Elasticsearch engine for the product searching capabilities. This module
44
provides logic used by other modules implementing newer versions of Elasticsearch, this module by itself only adds
5-
support for Elasticsearch v5.
5+
support for Elasticsearch v7 and v8.
66

77
The module implements Magento_Search library interfaces.
88

@@ -14,7 +14,8 @@ For information about a module installation in Magento 2, see [Enable or disable
1414

1515
## Structure
1616

17-
`ElasticAdapter/` - the directory that contains solutions for providing ElasticSearch 5.x version.
17+
`ElasticAdapter/` - the directory that contains the core files for providing support to ElasticSearch 7.x and 8.x
18+
version.
1819

1920
`SearchAdapter/` - the directory that contains solutions for adapting ElasticSearch query searching.
2021

0 commit comments

Comments
 (0)