Skip to content

[Backport 8.x] Various schema fixes #4012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 37 additions & 2 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 129 additions & 3 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions specification/_global/termvectors/TermVectorsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,57 @@ export interface Request<TDocument> extends RequestBase {
* When providing an analyzer for a field that already stores term vectors, the term vectors will be regenerated.
*/
per_field_analyzer?: Dictionary<Field, string>
/**
* A list of fields to include in the statistics.
* It is used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
*/
fields?: Fields
/**
* If `true`, the response includes:
*
* * The document count (how many documents contain this field).
* * The sum of document frequencies (the sum of document frequencies for all terms in this field).
* * The sum of total term frequencies (the sum of total term frequencies of each term in this field).
* @server_default true
*/
field_statistics?: boolean
/**
* If `true`, the response includes term offsets.
* @server_default true
*/
offsets?: boolean
/**
* If `true`, the response includes term payloads.
* @server_default true
*/
payloads?: boolean
/**
* If `true`, the response includes term positions.
* @server_default true
*/
positions?: boolean
/**
* If `true`, the response includes:
*
* * The total term frequency (how often a term occurs in all documents).
* * The document frequency (the number of documents containing the current term).
*
* By default these values are not returned since term statistics can have a serious performance impact.
*
* @server_default false
*/
term_statistics?: boolean
/**
* A custom value that is used to route operations to a specific shard.
*/
routing?: Routing
/**
* If `true`, returns the document version as part of a hit.
*/
version?: VersionNumber
/**
* The version type.
*/
version_type?: VersionType
}
}
8 changes: 8 additions & 0 deletions specification/esql/async_query/AsyncQueryRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,13 @@ export interface Request extends RequestBase {
* @server_default false
*/
include_ccs_metadata?: boolean
/**
* The period to wait for the request to finish.
* By default, the request waits for 1 second for the query results.
* If the query completes during this period, results are returned
* Otherwise, a query ID is returned that can later be used to retrieve the results.
* @server_default 1s
*/
wait_for_completion_timeout?: Duration
}
}
2 changes: 1 addition & 1 deletion specification/security/oidc_logout/Request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface Request extends RequestBase {
/**
* The access token to be invalidated.
*/
access_token: string
token: string
/**
* The refresh token to be invalidated.
*/
Expand Down