Skip to content

Commit a559d44

Browse files
committed
Remove two rejected parameters from async_search.submit
1 parent 79cf17d commit a559d44

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
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@
5151
},
5252
"async_search.submit": {
5353
"request": [
54-
"Request: query parameter 'keep_alive' does not exist in the json spec",
55-
"Request: query parameter 'pre_filter_shard_size' does not exist in the json spec",
5654
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required",
5755
"type_alias definition _spec_utils:PipeSeparatedFlags / union_of / instance_of - No type definition for '_spec_utils.PipeSeparatedFlags:T'"
5856
],

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
@@ -67,8 +67,8 @@ import { Duration } from '@_types/Time'
6767
* @doc_tag search
6868
*/
6969
// NOTE: this is a SearchRequest with:
70-
// * 3 added parameters: wait_for_completion_timeout, keep_on_completion and keep_alive
71-
// * 1 removed parameters: scroll
70+
// * 2 added parameters: wait_for_completion_timeout, keep_on_completion
71+
// * 2 removed parameters: scroll, pre_filter_shard_size
7272
export interface Request extends RequestBase {
7373
path_parts: {
7474
index?: Indices
@@ -85,12 +85,6 @@ export interface Request extends RequestBase {
8585
* @server_default false
8686
*/
8787
keep_on_completion?: boolean
88-
/**
89-
* Specifies how long the async search needs to be available.
90-
* Ongoing async searches and any saved search results are deleted after this period.
91-
* @server_default 5d
92-
*/
93-
keep_alive?: Duration
9488
allow_no_indices?: boolean
9589
allow_partial_search_results?: boolean
9690
analyzer?: string
@@ -116,11 +110,6 @@ export interface Request extends RequestBase {
116110
lenient?: boolean
117111
max_concurrent_shard_requests?: long
118112
preference?: string
119-
/**
120-
* 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.
121-
* @server_default 1
122-
*/
123-
pre_filter_shard_size?: long
124113
/** @server_default true */
125114
request_cache?: boolean
126115
routing?: Routing

0 commit comments

Comments
 (0)