Skip to content

Commit aaf5009

Browse files
committed
MC-31986: Add support for ES 7 to 2.4-develop
-fix after CR
1 parent 8a66448 commit aaf5009

File tree

21 files changed

+625
-922
lines changed

21 files changed

+625
-922
lines changed

app/code/Magento/Elasticsearch/Elasticsearch5/Model/Adapter/DataMapper/ProductDataMapper.php

Lines changed: 0 additions & 451 deletions
This file was deleted.

app/code/Magento/Elasticsearch/Elasticsearch5/Model/Adapter/DataMapper/ProductDataMapperProxy.php

Lines changed: 0 additions & 54 deletions
This file was deleted.

app/code/Magento/Elasticsearch/Model/Adapter/DataMapper/DataMapperResolver.php

Lines changed: 0 additions & 92 deletions
This file was deleted.

app/code/Magento/Elasticsearch/Model/Adapter/Elasticsearch.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ class Elasticsearch
2929
/**#@-*/
3030
protected $connectionManager;
3131

32-
/**
33-
* @var DataMapperInterface
34-
* @deprecated 100.2.0 Will be replaced with BatchDataMapperInterface
35-
*/
36-
protected $documentDataMapper;
37-
3832
/**
3933
* @var \Magento\Elasticsearch\Model\Adapter\Index\IndexNameResolver
4034
*/
@@ -76,10 +70,7 @@ class Elasticsearch
7670
private $batchDocumentDataMapper;
7771

7872
/**
79-
* Elasticsearch constructor.
80-
*
8173
* @param \Magento\Elasticsearch\SearchAdapter\ConnectionManager $connectionManager
82-
* @param DataMapperInterface $documentDataMapper
8374
* @param FieldMapperInterface $fieldMapper
8475
* @param \Magento\Elasticsearch\Model\Config $clientConfig
8576
* @param Index\BuilderInterface $indexBuilder
@@ -91,7 +82,6 @@ class Elasticsearch
9182
*/
9283
public function __construct(
9384
\Magento\Elasticsearch\SearchAdapter\ConnectionManager $connectionManager,
94-
DataMapperInterface $documentDataMapper,
9585
FieldMapperInterface $fieldMapper,
9686
\Magento\Elasticsearch\Model\Config $clientConfig,
9787
\Magento\Elasticsearch\Model\Adapter\Index\BuilderInterface $indexBuilder,
@@ -101,7 +91,6 @@ public function __construct(
10191
$options = []
10292
) {
10393
$this->connectionManager = $connectionManager;
104-
$this->documentDataMapper = $documentDataMapper;
10594
$this->fieldMapper = $fieldMapper;
10695
$this->clientConfig = $clientConfig;
10796
$this->indexBuilder = $indexBuilder;

app/code/Magento/Elasticsearch/Model/Config.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class Config implements ClientOptionsInterface
6767
private $engineList;
6868

6969
/**
70-
* Config constructor.
7170
* @param ScopeConfigInterface $scopeConfig
7271
* @param ClientResolver $clientResolver
7372
* @param EngineResolverInterface $engineResolver

0 commit comments

Comments
 (0)