Skip to content
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

[Backport 8.12] Add force_synthethic_source parameter #2483

Merged
merged 1 commit into from
Apr 4, 2024
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
66 changes: 63 additions & 3 deletions output/schema/schema.json

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

11 changes: 1 addition & 10 deletions output/schema/validation-errors.json

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

3 changes: 3 additions & 0 deletions output/typescript/types.ts

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

7 changes: 7 additions & 0 deletions specification/_global/get/GetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ export interface Request extends RequestBase {
index: IndexName
}
query_parameters: {
/**
* Should this request force synthetic _source?
* Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.
* Fetches with this enabled will be slower the enabling synthetic source natively in the index.
* @availability stack since=8.4.0 visibility=feature_flag feature_flag=es.index_mode_feature_flag_registered
*/
force_synthetic_source?: boolean
/**
* Specifies the node or shard the operation should be performed on. Random by default.
*/
Expand Down
7 changes: 7 additions & 0 deletions specification/_global/mget/MultiGetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ export interface Request extends RequestBase {
index?: IndexName
}
query_parameters: {
/**
* Should this request force synthetic _source?
* Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.
* Fetches with this enabled will be slower the enabling synthetic source natively in the index.
* @availability stack since=8.4.0 visibility=feature_flag feature_flag=es.index_mode_feature_flag_registered
*/
force_synthetic_source?: boolean
/**
* Specifies the node or shard the operation should be performed on. Random by default.
*/
Expand Down
7 changes: 7 additions & 0 deletions specification/_global/search/SearchRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,13 @@ export interface Request extends RequestBase {
* @doc_id sort-search-results
*/
sort?: string | string[]
/**
* Should this request force synthetic _source?
* Use this to test if the mapping supports synthetic _source and to get a sense of the worst case performance.
* Fetches with this enabled will be slower the enabling synthetic source natively in the index.
* @availability stack since=8.4.0 visibility=feature_flag feature_flag=es.index_mode_feature_flag_registered
*/
force_synthetic_source?: boolean
}
// We should keep this in sync with the multi search request body.
body: {
Expand Down
Loading