File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
Elasticsearch/Elasticsearch5/Model/Adapter/FieldMapper
dev/tests/static/testsuite/Magento/Test/Legacy/_files Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 11
11
use Magento \Elasticsearch \Model \Adapter \FieldMapper \Product \FieldProvider \FieldName \ResolverInterface ;
12
12
use Magento \Elasticsearch \Model \Adapter \FieldMapper \Product \FieldProviderInterface ;
13
13
use Magento \Elasticsearch \Model \Adapter \FieldMapperInterface ;
14
+
14
15
/**
15
16
* Class ProductFieldMapper provides field name by attribute code and retrieve all attribute types
16
17
*/
Original file line number Diff line number Diff line change 133
133
<argument name =" fieldProvider" xsi : type =" object" >elasticsearch5FieldProvider</argument >
134
134
</arguments >
135
135
</virtualType >
136
-
136
+ <type name =" Magento\Elasticsearch\Elasticsearch5\Model\Adapter\FieldMapper\ProductFieldMapperProxy" >
137
+ <arguments >
138
+ <argument name =" productFieldMappers" xsi : type =" array" >
139
+ <item name =" elasticsearch6" xsi : type =" object" >Magento\Elasticsearch6\Model\Adapter\FieldMapper\ProductFieldMapper</item >
140
+ </argument >
141
+ </arguments >
142
+ </type >
137
143
<virtualType name =" elasticsearch6FieldNameResolver" type =" \Magento\Elasticsearch\Model\Adapter\FieldMapper\Product\FieldProvider\FieldName\Resolver\CompositeResolver" >
138
144
<arguments >
139
145
<argument name =" items" xsi : type =" array" >
Original file line number Diff line number Diff line change 4250
4250
['Magento\Elasticsearch\Model\Client\Elasticsearch ' ],
4251
4251
['Magento\Elasticsearch\SearchAdapter\Aggregation\Interval ' ],
4252
4252
['Magento\Elasticsearch\SearchAdapter\Mapper ' ],
4253
- ['Magento\Elasticsearch6\Model\DataProvider\Suggestions ' ],
4254
4253
['Magento\Elasticsearch\Elasticsearch5\Model\Adapter\FieldType ' ],
4255
4254
['Magento\Elasticsearch\Model\Adapter\DataMapperInterface ' ],
4256
4255
['Magento\Elasticsearch\Elasticsearch5\Model\Adapter\DataMapper\ProductDataMapperProxy ' ],
You can’t perform that action at this time.
0 commit comments