Vanilla Views in Drupal 7 supports getting distinct or grouped by result sets. The process is described in this Drupal Answers question.

Can Apache Solr Views have this feature added?