Skip to content

Commit 4def748

Browse files
luigidellaquilapquentin
authored andcommitted
Add shard_failures to the response
1 parent f4904ee commit 4def748

File tree

6 files changed

+52
-2
lines changed

6 files changed

+52
-2
lines changed

output/openapi/elasticsearch-openapi.json

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

output/openapi/elasticsearch-serverless-openapi.json

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

output/schema/schema-serverless.json

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

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

specification/eql/_types/EqlSearchResponseBase.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
import { Id } from '@_types/common'
21+
import { ShardFailure } from '@_types/Errors'
2122
import { DurationValue, UnitMillis } from '@_types/Time'
2223
import { EqlHits } from './EqlHits'
2324

@@ -46,4 +47,8 @@ export class EqlSearchResponseBase<TEvent> {
4647
* Contains matching events and sequences. Also contains related metadata.
4748
*/
4849
hits: EqlHits<TEvent>
50+
/**
51+
* Contains information about shard failures (if any), in case allow_partial_search_results=true
52+
*/
53+
shard_failures?: ShardFailure[]
4954
}

0 commit comments

Comments
 (0)