Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›Migration guide

Migrating to 8.9

This section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 8.9.

See also What’s new in 8.17 and Release notes.

Breaking changes

The following changes in Elasticsearch 8.9 might affect your applications and prevent them from operating normally. Before upgrading to 8.9, review these changes and take the described steps to mitigate the impact.

REST API changes

Switch TDigestState to use HybridDigest by default

Details
The default implementation for TDigest in percentile calculations switches to a new internal implementation offering superior performance (2x-10x speedup), at a very small accuracy penalty for very large sample populations.

Impact
This change leads to generating slightly different results in percentile calculations. If the highest possible accuracy is desired, or it’s crucial to produce exactly the same results as in previous versions, one can either set execution_hint to high_accuracy in the tdigest spec of a given percentile calculation, or set search.aggs.tdigest_execution_hint to high_accuracy in cluster settings to apply to all percentile queries.

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/migrating-8.9.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API