Skip to content

Watcher: remove rest_total_hits_as_int #38387

@jakelandis

Description

@jakelandis

In 7.x the total hits in the search response were changed (#33028). To preserve compatibility watcher set rest_total_hits_as_int (#35848) to true by default to opt-out of the new response format (#36115).

Prior to 8.x Watcher needs to define a strategy to properly deprecate, and possibly re-write existing watches to no longer have rest_total_hits_as_int as the default (in 7.x it can be changed per watch, but defaults to true if not set). The strategy also needs to account for any other Elastic stack components, such as monitoring and beats that may use Watcher hit counts.

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