Elasticsearch breaking changes

edit

This list summarizes the most important breaking changes in Elasticsearch 7.5.2. For the complete list, go to Elasticsearch breaking changes.

Allocation deprecations

edit

The cluster.routing.allocation.disk.include_relocations setting is deprecated.

edit

The cluster.routing.allocation.disk.include_relocations cluster setting is now deprecated. In future versions, Elasticsearch will account for the sizes of relocating shards when making allocation decisions based on the disk usage of nodes in the cluster.

Currently, you can set cluster.routing.allocation.disk.include_relocations to false to disable this accounting. This can result in poor allocation decisions that might overshoot watermarks and require significant work to correct.

To avoid deprecation warnings, discontinue use of the setting.

Search Changes

edit

Stricter checking for wildcard queries on _index

edit

Previously, a wildcard query on the _index field matched directly against the fully-qualified index name. Now, in order to match against remote indices like cluster:index, the query must contain a colon, as in cl*ster:inde*. This behavior aligns with the way indices are matched in the search endpoint.