You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem including expected versus actual behavior:
Aggregations returns wrong results on one of my indices - running avg or max or min on a small set of double field called "time", it looks like it's ignoring the floating point
the index has the following mapping:
Please note that we have two "time" fields on the same index, One under the "root" object witch is mapped as double, And one under the "event.properties" witch is mapped as long.
The time field is being resolved to different fields at query time: one to event.time and one to time. This ambiguity has been cleared up in 2.x (see #8870) but cannot be resolved in 1.x.
You can try prepending the type name to to disambiguate: web-api.time vs web-api.event.time
(Prepending the type name is no longer supported in 2.x because it creates other ambiguities, but should work for your case).
Elasticsearch version: 1.7.3
OS version: Ubuntu 14.04
Description of the problem including expected versus actual behavior:
Aggregations returns wrong results on one of my indices - running avg or max or min on a small set of double field called "time", it looks like it's ignoring the floating point
the index has the following mapping:
Please note that we have two "time" fields on the same index, One under the "root" object witch is mapped as double, And one under the "event.properties" witch is mapped as long.
when i run the following query and aggs i get wrong results:
Results:
Any idea, why we are getting those results ??
Thanks
The text was updated successfully, but these errors were encountered: