|
55 | 55 | <field id="engine">elasticsearch</field>
|
56 | 56 | </depends>
|
57 | 57 | </field>
|
58 |
| - <field id="elasticsearch_minimum_should_match" translate="label" type="text" sortOrder="68" showInDefault="1" showInWebsite="0" showInStore="0"> |
59 |
| - <label>Minimum Terms to Match</label> |
| 58 | + <field id="elasticsearch_test_connect_wizard" translate="button_label" sortOrder="68" showInDefault="1" showInWebsite="0" showInStore="0"> |
| 59 | + <label/> |
| 60 | + <button_label>Test Connection</button_label> |
| 61 | + <frontend_model>Magento\Elasticsearch\Block\Adminhtml\System\Config\TestConnection</frontend_model> |
60 | 62 | <depends>
|
61 | 63 | <field id="engine">elasticsearch</field>
|
62 | 64 | </depends>
|
63 |
| - <comment><![CDATA[See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html">here</a> for possible values.]]></comment> |
64 |
| - <backend_model>Magento\Elasticsearch\Model\Config\Backend\MinimumShouldMatch</backend_model> |
65 | 65 | </field>
|
66 |
| - <field id="elasticsearch_test_connect_wizard" translate="button_label" sortOrder="69" showInDefault="1" showInWebsite="0" showInStore="0"> |
67 |
| - <label/> |
68 |
| - <button_label>Test Connection</button_label> |
69 |
| - <frontend_model>Magento\Elasticsearch\Block\Adminhtml\System\Config\TestConnection</frontend_model> |
| 66 | + <field id="elasticsearch_minimum_should_match" translate="label" type="text" sortOrder="93" showInDefault="1" showInWebsite="0" showInStore="0"> |
| 67 | + <label>Minimum Terms to Match</label> |
70 | 68 | <depends>
|
71 | 69 | <field id="engine">elasticsearch</field>
|
72 | 70 | </depends>
|
| 71 | + <comment><![CDATA[<a href="https://docs.magento.com/m2/ce/user_guide/catalog/search-elasticsearch.html">Learn more</a> about valid syntax.]]></comment> |
| 72 | + <backend_model>Magento\Elasticsearch\Model\Config\Backend\MinimumShouldMatch</backend_model> |
73 | 73 | </field>
|
74 | 74 | <!-- Elasticsearch 5.0+ -->
|
75 | 75 | <field id="elasticsearch5_server_hostname" translate="label" type="text" sortOrder="61" showInDefault="1" showInWebsite="0" showInStore="0">
|
|
117 | 117 | <field id="engine">elasticsearch5</field>
|
118 | 118 | </depends>
|
119 | 119 | </field>
|
120 |
| - <field id="elasticsearch5_minimum_should_match" translate="label" type="text" sortOrder="68" showInDefault="1" showInWebsite="0" showInStore="0"> |
121 |
| - <label>Minimum Terms to Match</label> |
| 120 | + <field id="elasticsearch5_test_connect_wizard" translate="button_label" sortOrder="68" showInDefault="1" showInWebsite="0" showInStore="0"> |
| 121 | + <label/> |
| 122 | + <button_label>Test Connection</button_label> |
| 123 | + <frontend_model>Magento\Elasticsearch\Block\Adminhtml\System\Config\Elasticsearch5\TestConnection</frontend_model> |
122 | 124 | <depends>
|
123 | 125 | <field id="engine">elasticsearch5</field>
|
124 | 126 | </depends>
|
125 |
| - <comment><![CDATA[See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-minimum-should-match.html">here</a> for possible values.]]></comment> |
126 |
| - <backend_model>Magento\Elasticsearch\Model\Config\Backend\MinimumShouldMatch</backend_model> |
127 | 127 | </field>
|
128 |
| - <field id="elasticsearch5_test_connect_wizard" translate="button_label" sortOrder="69" showInDefault="1" showInWebsite="0" showInStore="0"> |
129 |
| - <label/> |
130 |
| - <button_label>Test Connection</button_label> |
131 |
| - <frontend_model>Magento\Elasticsearch\Block\Adminhtml\System\Config\Elasticsearch5\TestConnection</frontend_model> |
| 128 | + <field id="elasticsearch5_minimum_should_match" translate="label" type="text" sortOrder="93" showInDefault="1" showInWebsite="0" showInStore="0"> |
| 129 | + <label>Minimum Terms to Match</label> |
132 | 130 | <depends>
|
133 | 131 | <field id="engine">elasticsearch5</field>
|
134 | 132 | </depends>
|
| 133 | + <comment><![CDATA[<a href="https://docs.magento.com/m2/ce/user_guide/catalog/search-elasticsearch.html">Learn more</a> about valid syntax.]]></comment> |
| 134 | + <backend_model>Magento\Elasticsearch\Model\Config\Backend\MinimumShouldMatch</backend_model> |
135 | 135 | </field>
|
136 | 136 | </group>
|
137 | 137 | </section>
|
|
0 commit comments