I am new to magento2, I wanted to know how we can bring category names also to the quick search. For eg: When I search using a keyword 'Bag', I should get a list off all products under the category "Bag" + all products that have the keyword 'bag' in its title , description or SKU. Thanks


1 Answer 1


You need the category name indexed in the product search. It is quite complicated to have an index which is always up to date (especially when you are editing a category, you need to reindex all products belonging to this category).

You may also try our ElasticSuite module (https://github.com/Smile-SA/elasticsuite), which bring this feature enabled out of the box.

Your Answer

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

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