Skip to content

Commit 76907f2

Browse files
authored
Merge pull request #180 from Nosto/feature/compatibility-with-m247-opensearch
Add compatibility with OpenSearch used in M2.4.7
2 parents 42cdf69 + 1bf37bb commit 76907f2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Plugin/Elasticsearch/SearchAdapter/Mapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
namespace Nosto\Cmp\Plugin\Elasticsearch\SearchAdapter;
3838

39-
use Magento\Elasticsearch\Elasticsearch5\SearchAdapter\Mapper as MagentoMapper;
39+
use Magento\Elasticsearch\ElasticAdapter\SearchAdapter\Mapper as MagentoMapper;
4040
use Magento\Framework\Search\Request\Query\BoolExpression;
4141
use Magento\Framework\Search\RequestInterface;
4242
use Nosto\Cmp\Model\Search\Request as NostoSearchRequest;

etc/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<type name="Magento\Catalog\Model\Product">
4444
<plugin name="get_product_url_nosto" type="Nosto\Cmp\Plugin\Catalog\Model\Product" />
4545
</type>
46-
<type name="Magento\Elasticsearch\Elasticsearch5\SearchAdapter\Mapper">
46+
<type name="Magento\Elasticsearch\ElasticAdapter\SearchAdapter\Mapper">
4747
<plugin name="nosto_elasticsearch_searchadapter_mapper" type="Nosto\Cmp\Plugin\Elasticsearch\SearchAdapter\Mapper" />
4848
</type>
4949
<type name="Magento\Framework\Search\Request\Builder">

0 commit comments

Comments
 (0)