-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
:Search Foundations/SearchCatch all for Search FoundationsCatch all for Search Foundations>deprecationTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch
Description
We introduced the search parameter rest_total_hits_as_int in #35849 to provide a smooth upgrade path from the old syntax. Now that 8.0 is approaching, we should come up with a plan to deprecate this parameter.
When we discussed as a team, we decided not to deprecate in 7.x and remove in 8.0. The parameter is still widely used and removing it in 8.0 would be too disruptive. So maybe we could deprecate in 8.x and give a long period before removing it.
Note there are many REST tests that still use rest_total_hits_as_int, so the deprecation may take some effort. Some other components like Watcher also still use the parameter (#38387).
mayya-sharipova and jakelandis
Metadata
Metadata
Assignees
Labels
:Search Foundations/SearchCatch all for Search FoundationsCatch all for Search Foundations>deprecationTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch