Hi,

is it possible to do a faceted search and additionally returning the
first 10 results for each facet (or category) in one query?

I have the requirement to produce a page like this:

Category 1:
- Link 1
- Link 2
- ...
- Link 10

Category 2:
- Link 1
- Link 2
- ...
- Link 10

...

Category n:
- Link 1
- Link 2
- ...
- Link 10

The naive approach would be to perform separate solr queries for each
category, take to top 10 and aggregate the results.
This works, but it's really slow, since there may be up to 40
categories on one page.

Any help is highly appreciated!

Thanks,
Andreas

Reply via email to