Skip to content

Deprecate rest_total_hits_as_int #79292

@jtibshirani

Description

@jtibshirani

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions