Contributions through pull requests are not supported for this topic. Open a GitHub issue to provide feedback.
PHP 7.3 reached end of support in December 2021 and Adobe Commerce 2.3.x reaches end of support in September 2022. You may want to consider planning your upgrade now to Adobe Commerce 2.4.x and PHP 7.4.x to help maintain PCI compliance.


The Magento_AdvancedSearch module introduces advanced search functionality and provides interfaces that allow third-party search engines to implement this functionality.

Installation details

Before disabling or uninstalling this module, note that the following modules depends on this module:

  • Magento_Elasticsearch
  • Magento_Elasticsearch6

For information about module installation in Magento 2, see Enable or disable modules.


Extension developers can interact with the Magento_AdvancedSearch module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_AdvancedSearch module.


This module observes the following event:

  • catalogsearch_query_save_after in the Magento\AdvancedSearch\Model\Recommendations\SaveSearchQueryRelationsObserver file.

For information about an event in Magento 2, see Events and observers.


The module interacts with the following layout handles in the view/adminhtml/layout directory:

  • catalog_search_block
  • catalog_search_edit
  • catalog_search_relatedgrid

The module interacts with the following layout handles in the view/frontend/layout directory:

  • catalogsearch_result_index

For more information about layouts in Magento 2, see the Layout documentation.