Skip to content

Commit b1f91f1

Browse files
authored
optional field id (#2592)
1 parent 34fa83f commit b1f91f1

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

output/openapi/elasticsearch-serverless-openapi.json

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

output/schema/schema.json

Lines changed: 1 addition & 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 & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/search/_types/hits.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Hit<TDocument> {
4343
* @es_quirk '_id' is not available when using 'stored_fields: _none_'
4444
* on a search request. Otherwise the field is always present on hits.
4545
*/
46-
_id: Id
46+
_id?: Id
4747
_score?: double | null
4848
_explanation?: Explanation
4949
fields?: Dictionary<string, UserDefinedValue>

0 commit comments

Comments
 (0)