[[migrating-8.4]]
== Migrating to 8.4
++++
8.4
++++
This section discusses the changes that you need to be aware of when migrating
your application to {es} 8.4.
See also <> and <>.
[discrete]
[[breaking-changes-8.4]]
=== Breaking changes
There are no breaking changes in {es} 8.4.
[discrete]
[[deprecated-8.4]]
=== Deprecations
The following functionality has been deprecated in {es} 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 <>.
[discrete]
[[deprecations_84_rest_api]]
==== REST API deprecations
[[deprecate_knn_search_endpoint]]
.Deprecate the `_knn_search` endpoint
[%collapsible]
====
*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.
====