Skip to content

Commit 0f7969a

Browse files
authored
additional counters in _clusters response (#2301)
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
1 parent 24afbdf commit 0f7969a

File tree

3 files changed

+63
-24
lines changed

3 files changed

+63
-24
lines changed

output/schema/schema.json

Lines changed: 57 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/Stats.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export class ClusterStatistics {
2828
skipped: integer
2929
successful: integer
3030
total: integer
31+
running: integer
32+
partial: integer
33+
failed: integer
3134
details?: Dictionary<ClusterAlias, ClusterDetails>
3235
}
3336

0 commit comments

Comments
 (0)