elasticsearch/elasticsearch — Issue #1460: Add 'unique_terms' for terms facet
Author: IoriH
Created: 2011-11-14 00:13:18+00:00
State: open

Related to https://github.com/elasticsearch/elasticsearch/issues/1029.

It would be useful if we can get total number of unique terms for a particular facet.
One use case is that we store "id" to a field. If we get number of unique terms on the field, we know how many duplicates are included in result set.