Skip to content

Commit 60128dd

Browse files
committed
optional field id (#2592) (#2596)
1 parent 3458c5d commit 60128dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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
@@ -44,7 +44,7 @@ export class Hit<TDocument> {
4444
* @es_quirk '_id' is not available when using 'stored_fields: _none_'
4545
* on a search request. Otherwise the field is always present on hits.
4646
*/
47-
_id: Id
47+
_id?: Id
4848

4949
_score?: double
5050
_type?: Type

0 commit comments

Comments
 (0)