Happy to help.
On Tuesday, December 16, 2014 10:37:25 AM UTC, Tom wrote:
>
> Hi Rich,
>
> perfect, that's it, thx a lot.
>
> Cheers, Tom
>
> Am Dienstag, 16. Dezember 2014 11:02:04 UTC+1 schrieb Rich Somerfield:
>>
>> Hi Tom,
>>
>> I think the "Cardinality" aggregation is what you want.
>>
>> e.g. :
>>
>> {
>> ...query...
>> },
>> "aggregations": {
>> "totalUniqueUsers": {
>> "cardinality": {
>> "field": "username"
>> }
>> }
>> }
>>
>> -Rich
>>
>> On Tuesday, December 16, 2014 8:48:51 AM UTC, Tom wrote:
>>>
>>> Hi,
>>>
>>> is there a way to get just the count of buckets (not the count of docs,
>>> which works i know) of an aggregation without receiving the whole buckets
>>> content?
>>>
>>> thx, Tom
>>>
>>>
>>>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/470ec648-20c8-4967-9c38-fa6ab407c8fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.