I want to show max 5 results(docs) from each facets on first page. How can I achieve it in Solr 4.x
for e.g I have thousands of matching products(docs) in TV, Music System, Books etc categories. If I search "Music" keyword, I should get max 5 matching results(docs) from all categories.
Thanks in advance.
Edit: I want to set limit on results(docs) not on facet list. And this limit is on each facet not on all result. If there are 3 categories, 15 results(docs) can be display on page, if 4, max 20 results(docs) can be display.