In magento, it is not possible to search for categories.
Currently it shows only the products in the list.
I need Categories and products in the search result.
Search results for categories should be related to searched query and not to the category of products that are listed in the result.
Otherwise how to show the categories name associated with search result products?
Help me find the file, In which file to we can edit the search query?