Breaking changes in 7.5edit

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

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

Allocation deprecationsedit

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 Changesedit

Stricter checking for wildcard queries on _indexedit

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.