Skip to content

Commit a796bc9

Browse files
l-trottagithub-actions[bot]
authored andcommitted
optional fields in term vector res (#2724)
(cherry picked from commit 5615a46)
1 parent 365e2fd commit a796bc9

File tree

8 files changed

+12
-18
lines changed

8 files changed

+12
-18
lines changed

output/openapi/elasticsearch-openapi.json

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

specification/_global/mtermvectors/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class Operation {
9494
}
9595

9696
export class TermVectorsResult {
97-
_id: Id
97+
_id?: Id
9898
_index: IndexName
9999
_version?: VersionNumber
100100
took?: long

specification/_global/termvectors/TermVectorsResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { TermVector } from './types'
2525
export class Response {
2626
body: {
2727
found: boolean
28-
_id: Id
28+
_id?: Id
2929
_index: IndexName
3030
term_vectors?: Dictionary<Field, TermVector>
3131
took: long

specification/_global/termvectors/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Dictionary } from '@spec_utils/Dictionary'
2121
import { double, integer, long } from '@_types/Numeric'
2222

2323
export class TermVector {
24-
field_statistics: FieldStatistics
24+
field_statistics?: FieldStatistics
2525
terms: Dictionary<string, Term>
2626
}
2727

0 commit comments

Comments
 (0)