Support solr field collapsing/result grouping

fixes #577