group_query and group_func methods for SolrQuery