Hi, I'm using solr to maintain an index of items that belong to different companies. I want the search results to be returned in a way that is fair to all companies, thus I wish to group the results such that each company has 1 item in each group, and the groups of results should be returned sorted by score.
example: ---------------------- 20 companies first 100 results 1-20 results - (company1 highest score item, company2 highest score item, etc..) 20-40 results - (company1 second highest score item, company 2 second highest score item, etc..) ... ---------------------- I'm trying to use the field collapsing feature but I have only been able to create the first group of results by using group.limit=1,group.field=companyid. If I raise the group.limit value, I would be violating the 'fairness rule' because more than one result of a company would be returned in the first group of results. Can I achieve the desired search result using SOLR, or do I have to look at other options? thank you, Luis Guerrero