Skip to content

[Infra UI] Adapt to Elasticsearch total hit count response format change #26351

Description

@weltenwort

Once elastic/elasticsearch#35849 is merged into master, any usages of the hit count will fail. There are two steps we should take to mitigate this:

  1. Force the response to match the previous format by adding rest_total_hits_as_int=true as a query parameter to the requests in both master and 6.x. (PR [Infra UI] pass flag in request to force BWC hit count #26517)
  2. While this means there is no divergence between master and 6.x for now, it will have to be replaced with the new format before 8.0.0. This will happen in [Infra UI] Remove deprecated total_hits request parameter #29435.

Current usages

Activity

  1. elasticmachine commented on Nov 28, 2018

    @elasticmachine
    Contributor

    Pinging @elastic/infrastructure-ui

  2. self-assigned this
    on Dec 3, 2018
  3. alvarolobato commented on Jan 22, 2019

    @alvarolobato

    The second bullet will be executed after the 7.0 branch is created.

  4. weltenwort commented on Jan 28, 2019

    @weltenwort
    MemberAuthor

    The second step is tracked in #29435.

  5. reopened this on Jan 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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