| Name | Description | Type | Package | Framework |
| TermDistinctValuesCollector | A term based implementation of AbstractDistinctValuesCollector that relies on SortedDocValues to count the distinct values per group. | Class | org.apache.lucene.search.grouping.term | Apache Lucene |
| TermDistinctValuesCollector .GroupCount | Holds distinct values for a single group. | Class | org.apache.lucene.search.grouping.term.TermDistinctValuesCollector | Apache Lucene |