WARNING: Version 1.7 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Breaking changes in 1.5
editBreaking changes in 1.5
editThis section discusses the changes that you need to be aware of when migrating your application from Elasticsearch 1.x to Elasticsearch 1.5.
Aggregations
editThe date_histogram aggregation now support a simplified offset option that replaces the previous pre_offset and
post_offset which are deprecated in 1.5. Instead of having to specify two separate offset shifts of the underlying buckets, the offset option
moves the bucket boundaries in positive or negative direction depending on its argument.
Also for date_histogram, options for pre_zone and post_zone options and the pre_zone_adjust_large_interval parameter
are deprecated in 1.5 and replaced by the already existing time_zone option. The behavior of time_zone is equivalent to the former
pre_zone option.