I am trying to get the count of two fields grouped together in solr. exactly as we do in mysql
select count(*), F1, F2 from MyTable where F3='X' group by F1,F2
when we try facet query and facet field like below
http://localhost:8888/solr/myCore/select?q=*:*&facet=true&facet.field=F1&facet.field=F2&wt=xml&fq=F3:X&version=2.2&rows=1
but this gives the count for each field separately. Anybody knows how to get the desired grouping? what should the link above be to get the correct grouping? Thanks