File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed
app/code/Magento/Elasticsearch8/etc Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 9
9
<default >
10
10
<catalog >
11
11
<search >
12
- <engine >elasticsearch8</engine >
13
12
<elasticsearch8_server_hostname >localhost</elasticsearch8_server_hostname >
14
13
<elasticsearch8_server_port >9200</elasticsearch8_server_port >
15
14
<elasticsearch8_index_prefix >magento2</elasticsearch8_index_prefix >
Original file line number Diff line number Diff line change 6
6
*/
7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
9
+ <preference for =" Magento\Elasticsearch\Model\Adapter\Elasticsearch" type =" Magento\Elasticsearch8\Model\Adapter\Elasticsearch" />
9
10
<type name =" Magento\Elasticsearch\Model\Config" >
10
11
<arguments >
11
12
<argument name =" engineList" xsi : type =" array" >
14
15
</arguments >
15
16
</type >
16
17
18
+ <type name =" Magento\Elasticsearch\Model\Adapter\Elasticsearch" >
19
+ <arguments >
20
+ <argument name =" responseErrorExceptionList" xsi : type =" array" >
21
+ <item name =" clientResponseException" xsi : type =" string" >Elastic\Elasticsearch\Exception\ClientResponseException</item >
22
+ </argument >
23
+ </arguments >
24
+ </type >
25
+
26
+ <type name =" Magento\Elasticsearch\Model\DataProvider\Base\Suggestions" >
27
+ <arguments >
28
+ <argument name =" responseErrorExceptionList" xsi : type =" array" >
29
+ <item name =" clientResponseException" xsi : type =" string" >Elastic\Elasticsearch\Exception\ClientResponseException</item >
30
+ </argument >
31
+ </arguments >
32
+ </type >
33
+
17
34
<type name =" Magento\Search\Model\Adminhtml\System\Config\Source\Engine" >
18
35
<arguments >
19
36
<argument name =" engines" xsi : type =" array" >
You can’t perform that action at this time.
0 commit comments