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
The geo bounds aggregation does not surround its JSON output with the aggregation name. For 1.3.x this should be fixed directly. For 1.4+ we should move the serialisation of the aggregation name to InternalAggregation so an aggregation can only output JSON in its own scope.
The text was updated successfully, but these errors were encountered:
Before this change each aggregation had to output an object field with its name and write its JSON inside that object. This allowed for badly behaved aggregations which could write JSON content in the root of the 'aggs' object. this change move the writing of the aggregation name to a level above the aggregation itself, ensuring that aggregations can only write within there own scope in the JSON output.
Closes#7004
The geo bounds aggregation was not outputting the aggregation name and in the case where there was no data would output malformed JSON (extra } )
CLoses#7004
olivere
added a commit
to olivere/elastic
that referenced
this issue
Jul 26, 2014
Notice: Elasticsearch 1.3.0 has an error here in that it does not
output the aggregation name. So tests should fail with 1.3.0.
It is fixed in
elastic/elasticsearch#7004.
clintongormley
changed the title
Geo bounds aggregation does not output aggregation name
Aggregations: Geo bounds aggregation does not output aggregation name
Jul 28, 2014
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
The geo bounds aggregation was not outputting the aggregation name and in the case where there was no data would output malformed JSON (extra } )
CLoseselastic#7004
The geo bounds aggregation does not surround its JSON output with the aggregation name. For 1.3.x this should be fixed directly. For 1.4+ we should move the serialisation of the aggregation name to InternalAggregation so an aggregation can only output JSON in its own scope.
The text was updated successfully, but these errors were encountered: