In my index I do have documents categorized (category_id - int sortable
field). I would like to get three top documents matching user query BUT
each have to be from different category.:
for example from returned set (doc_id : category id):
I would like to get docs 1, 4 and 7.
Is that possible without quering 3 times? Often lot of (more than my
limit) the docs at the beginning are from the same category.
I'm using PHP Apache Solr so I would like to avoid processing large sets
of data in my PHP based application.