Hi,

I am looking for a way to do the following in solr:
When somebody does a search, I want to show results by category (facet) such
that I display 5 results from each category (along with showing the total
number of results in each category which I can always do using the facet
search). This is kind of an overview of all the search results and user can
click on the category to see all the results pertaining to that category
(normal facet search with filter).

One way that I can think of doing this is by making as many queries as there
are categories and show these results under each category. But this will be
very inefficient. Is there any way I can do this ?

Thanks & Regards,
Varun Gupta

Reply via email to