Our customer needs the functionality of the Solr's "Result Grouping" feature that is documented here: https://lucene.apache.org/solr/guide/6_6/result-grouping.html#result-grouping.
Yes. that is for Solr 6.6, but I can find the same functionality in the pdf docs for 6.0 (which DSE Search is locked at): http://archive.apache.org/dist/lucene/solr/ref-guide/apache-solr-ref-guide-6.0.pdf
Is there a way to do "Result Grouping" via CQL?
I don't see that it is as an "Unsupported features for DSE Search" (https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/search/unsupportedSearchFeatures.html)
It may be tempting to use the "Collapse and Expand" functionality of Solr since at least the "Collapse" feature can be specified on the "fq" parameter. But that feature doesn't return the number of collapsed documents which our customer really needs. Nor does it look like DSE has a way of specifying the "expand" parameter. (https://docs.datastax.com/en/dse/5.1/dse-admin/datastax_enterprise/search/siQuerySyntax.html#siQuerySyntax)