You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 rivejä
3.5 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="catalog">
  11. <group id="seo">
  12. <field id="search_terms" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  13. <label>Popular Search Terms</label>
  14. <source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
  15. </field>
  16. </group>
  17. <group id="search" translate="label" type="text" sortOrder="500" showInDefault="1" showInWebsite="1" showInStore="1">
  18. <label>Catalog Search</label>
  19. <field id="engine" canRestore="1">
  20. <backend_model>Magento\CatalogSearch\Model\Adminhtml\System\Config\Backend\Engine</backend_model>
  21. <comment>If not specified, Default Search Engine will be used.</comment>
  22. </field>
  23. <field id="min_query_length" translate="label comment" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  24. <label>Minimal Query Length</label>
  25. <validate>validate-digits</validate>
  26. <comment>This value must be compatible with the corresponding setting in the configured search engine. Be aware: a low query length limit may cause the performance impact.</comment>
  27. </field>
  28. <field id="max_query_length" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  29. <label>Maximum Query Length</label>
  30. <validate>validate-digits</validate>
  31. <comment>This value must be compatible with the corresponding setting in the configured search engine.</comment>
  32. </field>
  33. <field id="max_count_cacheable_search_terms" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  34. <label>Number of top search results to cache</label>
  35. <comment>Number of popular search terms to be cached for faster response. Use “0” to cache all results after a term is searched for the second time.</comment>
  36. <validate>validate-digits</validate>
  37. </field>
  38. <field id="autocomplete_limit" translate="label" type="text" sortOrder="19" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  39. <label>Autocomplete Limit</label>
  40. <validate>validate-digits</validate>
  41. </field>
  42. <field id="enable_eav_indexer" translate="label" type="select" sortOrder="18" showInDefault="1" canRestore="1">
  43. <label>Enable EAV Indexer</label>
  44. <comment>Enable/Disable Product EAV indexer to improve indexation speed. Make sure that indexer is not used by 3rd party extensions.</comment>
  45. <depends>
  46. <field id="engine" separator="," negative="1">mysql</field>
  47. </depends>
  48. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  49. </field>
  50. </group>
  51. </section>
  52. </system>
  53. </config>