Hi, I'm looking for a parameter like "group.truncate=true". Though I not only want to count facets based on the most relevant document of each group but based on all documents. Moreover if a facet value is in more than in one document of a group it should only count once.
Example: Doc 1: type: shirt color: green Doc 2: type: shirt color: green Doc 3: type: shirt color: blue Doc 4: type: pants color: black grouping by field 'type' should create following facet: Color: green: 1 blue: 1 black: 1 Thanks.