A new response attribute would be better but it also complicates the patch in that it would require a new way to serialize DocSlices I think (especially when group.main=true)? I was looking to set group.main=true so that my existing clients don't have to change to parse the grouped resultset format.
Secondly, while a new response attribute makes sense the question is whether or not numFound is the numGroups or numTotal. To me it should be the number of groups because logically that is what the resultset shows and the new attribute should point to the number of total. Thanks Amit