Solr Result Grouping allows grouping of documents sharing a common field. For each group the most relevant documents are returned.