Re: Field Collapsing - sort by group count, get total groups
On Tue, Dec 7, 2010 at 7:03 AM, ssetem <[hidden email]> wrote:
> I wondered if it is possible to sort groups by the total within the group,
> and to bring back total amount groups?
That is planned, but not currently implemented.
You can use faceting to get both totals and sort by highest total though.
Total number of groups is a different problem - we don't return it
because we don't know.
It will take a different algorithm (that's more memory intensive) to
find out the total number of groups.
If the number is unlikely to be too large, you could just return all
groups (or use faceting to do that more efficiently).