How to debug aggregation problems?

I have an aggregation (filter + daterange) that is giving me an incorrect
result (the count for a bucket is 2 when I expect 1) - but when I search
using the same* criteria, I get only the 1 result I expect.
I am wondering what techniques there are for trying to debug the
aggregation - to try figure out why I get a count of 2 instead of 1.

  • The criteria are almost the same - there is a process of turning one of
    the buckets of the date-range aggregation into a date range filter - but as
    it happens, this is not the part that is generating the incorrect results.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/49b01a36-bc17-4c59-b7d6-d100fe455ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hey,

if you think this is a bug, please try to create a reproducible example and
file a github issue. See Elasticsearch Platform — Find real-time answers at scale | Elastic
If you are using the terms aggregation, you might want to read this one as
well before filing a bug:
https://github.com/elasticsearch/elasticsearch/issues/1305

--Alex

On Tue, Jun 3, 2014 at 11:51 AM, mooky nick.minutello@gmail.com wrote:

I have an aggregation (filter + daterange) that is giving me an incorrect
result (the count for a bucket is 2 when I expect 1) - but when I search
using the same* criteria, I get only the 1 result I expect.
I am wondering what techniques there are for trying to debug the
aggregation - to try figure out why I get a count of 2 instead of 1.

  • The criteria are almost the same - there is a process of turning one of
    the buckets of the date-range aggregation into a date range filter - but as
    it happens, this is not the part that is generating the incorrect results.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/49b01a36-bc17-4c59-b7d6-d100fe455ec5%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/49b01a36-bc17-4c59-b7d6-d100fe455ec5%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGCwEM8v1iPOuJRxPf%2Brq1aO6o76yNvOk6EzSKwzcVTzuhLv2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.