I've got an index set up where there is a field that denotes membership in a document cluster. By using a grouped query, I can get a result grouped by cluster membership.
Gosh, I wish I could add one more thing to the top of this pile: sort by group size. I'd like to have the ability demand sort by descending group size instead of any more relevant relevance. This is mostly a debugging trick, not a production mechanism. Is there a way to do this?