Migrating to 8.4edit

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

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

Breaking changesedit

There are no breaking changes in Elasticsearch 8.4.

Deprecationsedit

The following functionality has been deprecated in Elasticsearch 8.4 and will be removed in a future version. While this won’t have an immediate impact on your applications, we strongly encourage you to take the described steps to update your code after upgrading to 8.4.

To find out if you are using any deprecated functionality, enable deprecation logging.

REST API deprecationsedit

Deprecate the _knn_search endpoint

Details
-| The kNN search API is deprecated in favor of the new knn option inside the search API. The knn option is now the recommended way of running ANN search.

Impact
Users should switch from _knn_search to the search knn option.