Skip to content

Commit 7532901

Browse files
committed
Revert long -> int changes
1 parent 2b9b67e commit 7532901

File tree

10 files changed

+33
-34
lines changed

10 files changed

+33
-34
lines changed

output/openapi/elasticsearch-openapi.json

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

specification/_global/msearch/MultiSearchRequest.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Indices, Routing, SearchType } from '@_types/common'
22-
import { integer, long } from '@_types/Numeric'
22+
import { long } from '@_types/Numeric'
2323
import { RequestItem } from './types'
2424

2525
/**
@@ -101,14 +101,13 @@ export interface Request extends RequestBase {
101101
include_named_queries_score?: boolean
102102
/**
103103
* Maximum number of concurrent searches the multi search API can execute.
104-
* Defaults to `max(1, (# of data nodes * min(search thread pool size, 10)))`.
105104
*/
106-
max_concurrent_searches?: integer
105+
max_concurrent_searches?: long
107106
/**
108107
* Maximum number of concurrent shard requests that each sub-search request executes per node.
109108
* @server_default 5
110109
*/
111-
max_concurrent_shard_requests?: integer
110+
max_concurrent_shard_requests?: long
112111
/**
113112
* Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.
114113
*/

specification/_global/search/SearchRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export interface Request extends RequestBase {
195195
* This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.
196196
* @server_default 5
197197
*/
198-
max_concurrent_shard_requests?: integer
198+
max_concurrent_shard_requests?: long
199199
/**
200200
* The nodes and shards used for the search.
201201
* By default, Elasticsearch selects from eligible nodes and shards using adaptive replica selection, accounting for allocation awareness.

specification/async_search/submit/AsyncSearchSubmitRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export interface Request extends RequestBase {
124124
ignore_throttled?: boolean
125125
ignore_unavailable?: boolean
126126
lenient?: boolean
127-
max_concurrent_shard_requests?: integer
127+
max_concurrent_shard_requests?: long
128128
preference?: string
129129
/** @server_default true */
130130
request_cache?: boolean

specification/fleet/msearch/MultiSearchRequest.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import {
2525
IndexName,
2626
SearchType
2727
} from '@_types/common'
28-
import { integer, long } from '@_types/Numeric'
28+
import { long } from '@_types/Numeric'
2929
import { Checkpoint } from '../_types/Checkpoints'
3030

3131
/**
@@ -84,12 +84,12 @@ export interface Request extends RequestBase {
8484
/**
8585
* Maximum number of concurrent searches the multi search API can execute.
8686
*/
87-
max_concurrent_searches?: integer
87+
max_concurrent_searches?: long
8888
/**
8989
* Maximum number of concurrent shard requests that each sub-search request executes per node.
9090
* @server_default 5
9191
*/
92-
max_concurrent_shard_requests?: integer
92+
max_concurrent_shard_requests?: long
9393
/**
9494
* Defines a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method i.e., if date filters are mandatory to match but the shard bounds and the query are disjoint.
9595
*/

specification/fleet/search/SearchRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export interface Request extends RequestBase {
8888
ignore_throttled?: boolean
8989
ignore_unavailable?: boolean
9090
lenient?: boolean
91-
max_concurrent_shard_requests?: integer
91+
max_concurrent_shard_requests?: long
9292
preference?: string
9393
pre_filter_shard_size?: long
9494
request_cache?: boolean

0 commit comments

Comments
 (0)