Because the search of Magento 2 works wrong with my shop, I want a custom search function in Magento 2 but I don't know it where.

Please help me, where is function in vendor

1 Answer 1


You can find that function in the module Catalog search

Folder: vendor/magento/module-catalog-search

I hope it helps you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.