Grouping module. Collectors for grouping search results