I'd like to display the top 5 results from diffe开发者_高级运维rent content types stored in Solr. Is it possible to group by a defined field and limit each group to a number of results, similarly to a "first N rows" SQL query?
Thanks!
Take a look at Field collapsing / Result grouping.
精彩评论