Hi,
I was trying to check Cardinality Aggregation. I believe it will give me an 
approx value of the number of unique users. 

Below is what I am using.
{
    "aggs" : {
        "user_count" : {
            "cardinality" : {
                "field" : "userid"
            }
        }
    }
}

Can some one confirm a few things for me.

1. What is the accuracy of the result.
2. Is this is the only way or are there other options to do this as well.
3. This feature is experimental as per docs, what are the future roadmaps 
for this, if any ?

Thanks,
Saurabh

-- 
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/35040cd2-49ed-4363-857e-f66892d64faf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to