Nope, there's nothing in Solr that does this for you already, you need to do something custom. You could write a component that did this as the last step of writing the data to the client, but that just moves the action from your front-end to custom code in Solr that you have to maintain too, so I don't see the benefit.
Best, Erick On Tue, Sep 24, 2013 at 11:46 AM, go2jun <go2...@gmail.com> wrote: > Thanks Erick for your response. > > My goal is > 1. try to search from solr. In the search result, we would like show no more > than two results from the same source id. > 2. For the search results, we would like all these results sorted by their > score. > > So If I use solr result grouping to get the top two result from each group, > then I need to un-group them. > > So my question is there any pure solr solution to handle this? I prefer it > handle by solr other than my application, because the search result are very > large. > > Thanks! > Jun > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-sort-over-all-documents-by-score-after-Result-Grouping-Field-Collapsing-tp4091593p4091784.html > Sent from the Solr - User mailing list archive at Nabble.com.