Cardinality Aggregation - Different Unique Counts!

Hey guys,

I am still trying to figure this out, 2 ElasticSearch queries, unique count
on one is


And the other :


Here are the Requests and responses and

The actual count match for both but not the unique.

FYI, the ip_address field type is string, Im storing IPs like I get them
from client (

I just can't understand why they are coming up different, and honestly
would like to know which is probably right.

Can anyone help?

Please update your bookmarks! We moved to

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
To view this discussion on the web visit
For more options, visit