Skip to content

Commit 328870a

Browse files
AC-12482:All the Elasticsearch 7 and 8 modules and classes are marked in the code as Deprecated
1 parent 92f4702 commit 328870a

File tree

5 files changed

+25
-4
lines changed

5 files changed

+25
-4
lines changed

app/code/Magento/Elasticsearch7/Model/Adapter/DynamicTemplates/IntegerMapper.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@
1010
/**
1111
* @inheridoc
1212
* @deprecated because of EOL for Elasticsearch7
13+
* @see this class will be responsible for ES7 only
1314
*/
1415
class IntegerMapper implements MapperInterface
1516
{
1617
/**
17-
* @inheridoc
18+
* Add/remove/edit dynamic template mapping.
19+
*
20+
* @param array $templates
21+
*
22+
* @return array
1823
*/
1924
public function processTemplates(array $templates): array
2025
{

app/code/Magento/Elasticsearch7/Model/Adapter/DynamicTemplates/MapperInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ interface MapperInterface
1616
* Add/remove/edit dynamic template mapping.
1717
*
1818
* @param array $templates
19+
*
1920
* @return array
2021
*/
2122
public function processTemplates(array $templates): array;

app/code/Magento/Elasticsearch7/Model/Adapter/DynamicTemplates/PositionMapper.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@
1010
/**
1111
* @inheridoc
1212
* @deprecated because of EOL for Elasticsearch7
13+
* @see this class will be responsible for ES7 only
1314
*/
1415
class PositionMapper implements MapperInterface
1516
{
1617
/**
17-
* @inheridoc
18+
* Add/remove/edit dynamic template mapping.
19+
*
20+
* @param array $templates
21+
*
22+
* @return array
1823
*/
1924
public function processTemplates(array $templates): array
2025
{

app/code/Magento/Elasticsearch7/Model/Adapter/DynamicTemplates/PriceMapper.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@
1010
/**
1111
* @inheridoc
1212
* @deprecated because of EOL for Elasticsearch7
13+
* @see this class will be responsible for ES7 only
1314
*/
1415
class PriceMapper implements MapperInterface
1516
{
1617
/**
17-
* @inheridoc
18+
* Add/remove/edit dynamic template mapping.
19+
*
20+
* @param array $templates
21+
*
22+
* @return array
1823
*/
1924
public function processTemplates(array $templates): array
2025
{

app/code/Magento/Elasticsearch7/Model/Adapter/DynamicTemplates/StringMapper.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@
1010
/**
1111
* @inheridoc
1212
* @deprecated because of EOL for Elasticsearch7
13+
* @see this class will be responsible for ES7 only
1314
*/
1415
class StringMapper implements MapperInterface
1516
{
1617
/**
17-
* @inheridoc
18+
* Add/remove/edit dynamic template mapping.
19+
*
20+
* @param array $templates
21+
*
22+
* @return array
1823
*/
1924
public function processTemplates(array $templates): array
2025
{

0 commit comments

Comments
 (0)