Skip to content

Commit

Permalink
additional counters in _clusters response (#2301) (#2311)
Browse files Browse the repository at this point in the history
Updates the spec for the response objects for `POST _async_search`,
`GET _async_search/:id`, `GET _async_search/status/:id` and `GET _search`.

In `8.11` we are adding counters in the `_details` section of both async and
synchronous search responses. The counters added are: `running`, `partial`
and `failed`. elastic/elasticsearch#99566

(cherry picked from commit 0f7969a)

Co-authored-by: Matteo Piergiovanni <[email protected]>
  • Loading branch information
github-actions[bot] and piergm authored Oct 12, 2023
1 parent 8752aa6 commit ac9c431
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 24 deletions.
81 changes: 57 additions & 24 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions specification/_types/Stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export class ClusterStatistics {
skipped: integer
successful: integer
total: integer
running: integer
partial: integer
failed: integer
details?: Dictionary<ClusterAlias, ClusterDetails>
}

Expand Down

0 comments on commit ac9c431

Please sign in to comment.