Skip to content

Commit a3e09d1

Browse files
committed
Remove two rejected parameters from async_search.submit
1 parent 1c3d8e2 commit a3e09d1

File tree

7 files changed

+4
-135
lines changed

7 files changed

+4
-135
lines changed

output/openapi/elasticsearch-openapi.json

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

output/schema/validation-errors.json

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

specification/async_search/submit/AsyncSearchSubmitRequest.ts

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ import { Duration } from '@_types/Time'
6868
* @doc_tag search
6969
*/
7070
// NOTE: this is a SearchRequest with:
71-
// * 3 added parameters: wait_for_completion_timeout, keep_on_completion and keep_alive
72-
// * 1 removed parameters: scroll
71+
// * 2 added parameters: wait_for_completion_timeout, keep_on_completion
72+
// * 2 removed parameters: scroll, pre_filter_shard_size
7373
export interface Request extends RequestBase {
7474
path_parts: {
7575
index?: Indices
@@ -86,12 +86,6 @@ export interface Request extends RequestBase {
8686
* @server_default false
8787
*/
8888
keep_on_completion?: boolean
89-
/**
90-
* Specifies how long the async search needs to be available.
91-
* Ongoing async searches and any saved search results are deleted after this period.
92-
* @server_default 5d
93-
*/
94-
keep_alive?: Duration
9589
allow_no_indices?: boolean
9690
allow_partial_search_results?: boolean
9791
analyzer?: string
@@ -118,11 +112,6 @@ export interface Request extends RequestBase {
118112
max_concurrent_shard_requests?: long
119113
min_compatible_shard_node?: VersionString
120114
preference?: string
121-
/**
122-
* The default value cannot be changed, which enforces the execution of a pre-filter roundtrip to retrieve statistics from each shard so that the ones that surely don’t hold any document matching the query get skipped.
123-
* @server_default 1
124-
*/
125-
pre_filter_shard_size?: long
126115
/** @server_default true */
127116
request_cache?: boolean
128117
routing?: Routing

0 commit comments

Comments
 (0)