Skip to content

Commit a7d68fa

Browse files
Auto-generated API code
1 parent 89734af commit a7d68fa

File tree

6 files changed

+0
-144
lines changed

6 files changed

+0
-144
lines changed

elasticsearch_serverless/_async/client/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3292,7 +3292,6 @@ async def search(
32923292
] = None,
32933293
lenient: t.Optional[bool] = None,
32943294
max_concurrent_shard_requests: t.Optional[int] = None,
3295-
min_compatible_shard_node: t.Optional[str] = None,
32963295
min_score: t.Optional[float] = None,
32973296
pit: t.Optional[t.Mapping[str, t.Any]] = None,
32983297
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3429,8 +3428,6 @@ async def search(
34293428
requests per node this search executes concurrently. This value should be
34303429
used to limit the impact of the search on the cluster in order to limit the
34313430
number of concurrent shard requests.
3432-
:param min_compatible_shard_node: The minimum version of the node that can handle
3433-
the request Any handling node with a lower version will fail the request.
34343431
:param min_score: Minimum `_score` for matching documents. Documents with a lower
34353432
`_score` are not included in the search results.
34363433
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -3607,8 +3604,6 @@ async def search(
36073604
__query["lenient"] = lenient
36083605
if max_concurrent_shard_requests is not None:
36093606
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
3610-
if min_compatible_shard_node is not None:
3611-
__query["min_compatible_shard_node"] = min_compatible_shard_node
36123607
if pre_filter_shard_size is not None:
36133608
__query["pre_filter_shard_size"] = pre_filter_shard_size
36143609
if preference is not None:

elasticsearch_serverless/_async/client/async_search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ async def submit(
265265
] = None,
266266
lenient: t.Optional[bool] = None,
267267
max_concurrent_shard_requests: t.Optional[int] = None,
268-
min_compatible_shard_node: t.Optional[str] = None,
269268
min_score: t.Optional[float] = None,
270269
pit: t.Optional[t.Mapping[str, t.Any]] = None,
271270
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -388,7 +387,6 @@ async def submit(
388387
per node this search executes concurrently. This value should be used to
389388
limit the impact of the search on the cluster in order to limit the number
390389
of concurrent shard requests
391-
:param min_compatible_shard_node:
392390
:param min_score: Minimum _score for matching documents. Documents with a lower
393391
_score are not included in the search results.
394392
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -517,8 +515,6 @@ async def submit(
517515
__query["lenient"] = lenient
518516
if max_concurrent_shard_requests is not None:
519517
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
520-
if min_compatible_shard_node is not None:
521-
__query["min_compatible_shard_node"] = min_compatible_shard_node
522518
if pre_filter_shard_size is not None:
523519
__query["pre_filter_shard_size"] = pre_filter_shard_size
524520
if preference is not None:

elasticsearch_serverless/_async/client/cat.py

Lines changed: 0 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ async def aliases(
4444
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
4545
help: t.Optional[bool] = None,
4646
human: t.Optional[bool] = None,
47-
local: t.Optional[bool] = None,
4847
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
4948
pretty: t.Optional[bool] = None,
5049
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
@@ -68,10 +67,6 @@ async def aliases(
6867
:param h: List of columns to appear in the response. Supports simple wildcards.
6968
:param help: When set to `true` will output available columns. This option can't
7069
be combined with any other query string option.
71-
:param local: If `true`, the request computes the list of selected nodes from
72-
the local cluster state. If `false` the list of selected nodes are computed
73-
from the cluster state of the master node. In both cases the coordinating
74-
node will send requests for further information to each selected node.
7570
:param master_timeout: Period to wait for a connection to the master node.
7671
:param s: List of columns that determine how the table should be sorted. Sorting
7772
defaults to ascending and can be changed by setting `:asc` or `:desc` as
@@ -100,8 +95,6 @@ async def aliases(
10095
__query["help"] = help
10196
if human is not None:
10297
__query["human"] = human
103-
if local is not None:
104-
__query["local"] = local
10598
if master_timeout is not None:
10699
__query["master_timeout"] = master_timeout
107100
if pretty is not None:
@@ -215,7 +208,6 @@ async def count(
215208
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
216209
help: t.Optional[bool] = None,
217210
human: t.Optional[bool] = None,
218-
local: t.Optional[bool] = None,
219211
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
220212
pretty: t.Optional[bool] = None,
221213
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
@@ -239,10 +231,6 @@ async def count(
239231
:param h: List of columns to appear in the response. Supports simple wildcards.
240232
:param help: When set to `true` will output available columns. This option can't
241233
be combined with any other query string option.
242-
:param local: If `true`, the request computes the list of selected nodes from
243-
the local cluster state. If `false` the list of selected nodes are computed
244-
from the cluster state of the master node. In both cases the coordinating
245-
node will send requests for further information to each selected node.
246234
:param master_timeout: Period to wait for a connection to the master node.
247235
:param s: List of columns that determine how the table should be sorted. Sorting
248236
defaults to ascending and can be changed by setting `:asc` or `:desc` as
@@ -269,8 +257,6 @@ async def count(
269257
__query["help"] = help
270258
if human is not None:
271259
__query["human"] = human
272-
if local is not None:
273-
__query["local"] = local
274260
if master_timeout is not None:
275261
__query["master_timeout"] = master_timeout
276262
if pretty is not None:
@@ -299,7 +285,6 @@ async def help(
299285
h: t.Optional[t.Union[str, t.Sequence[str]]] = None,
300286
help: t.Optional[bool] = None,
301287
human: t.Optional[bool] = None,
302-
local: t.Optional[bool] = None,
303288
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
304289
pretty: t.Optional[bool] = None,
305290
s: t.Optional[t.Union[str, t.Sequence[str]]] = None,
@@ -315,10 +300,6 @@ async def help(
315300
:param h: List of columns to appear in the response. Supports simple wildcards.
316301
:param help: When set to `true` will output available columns. This option can't
317302
be combined with any other query string option.
318-
:param local: If `true`, the request computes the list of selected nodes from
319-
the local cluster state. If `false` the list of selected nodes are computed
320-
from the cluster state of the master node. In both cases the coordinating
321-
node will send requests for further information to each selected node.
322303
:param master_timeout: Period to wait for a connection to the master node.
323304
:param s: List of columns that determine how the table should be sorted. Sorting
324305
defaults to ascending and can be changed by setting `:asc` or `:desc` as
@@ -340,8 +321,6 @@ async def help(
340321
__query["help"] = help
341322
if human is not None:
342323
__query["human"] = human
343-
if local is not None:
344-
__query["local"] = local
345324
if master_timeout is not None:
346325
__query["master_timeout"] = master_timeout
347326
if pretty is not None:
@@ -384,7 +363,6 @@ async def indices(
384363
help: t.Optional[bool] = None,
385364
human: t.Optional[bool] = None,
386365
include_unloaded_segments: t.Optional[bool] = None,
387-
local: t.Optional[bool] = None,
388366
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
389367
pretty: t.Optional[bool] = None,
390368
pri: t.Optional[bool] = None,
@@ -422,10 +400,6 @@ async def indices(
422400
be combined with any other query string option.
423401
:param include_unloaded_segments: If true, the response includes information
424402
from segments that are not loaded into memory.
425-
:param local: If `true`, the request computes the list of selected nodes from
426-
the local cluster state. If `false` the list of selected nodes are computed
427-
from the cluster state of the master node. In both cases the coordinating
428-
node will send requests for further information to each selected node.
429403
:param master_timeout: Period to wait for a connection to the master node.
430404
:param pri: If true, the response only includes information from primary shards.
431405
:param s: List of columns that determine how the table should be sorted. Sorting
@@ -462,8 +436,6 @@ async def indices(
462436
__query["human"] = human
463437
if include_unloaded_segments is not None:
464438
__query["include_unloaded_segments"] = include_unloaded_segments
465-
if local is not None:
466-
__query["local"] = local
467439
if master_timeout is not None:
468440
__query["master_timeout"] = master_timeout
469441
if pretty is not None:
@@ -548,7 +520,6 @@ async def ml_data_frame_analytics(
548520
] = None,
549521
help: t.Optional[bool] = None,
550522
human: t.Optional[bool] = None,
551-
local: t.Optional[bool] = None,
552523
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
553524
pretty: t.Optional[bool] = None,
554525
s: t.Optional[
@@ -620,10 +591,6 @@ async def ml_data_frame_analytics(
620591
:param h: Comma-separated list of column names to display.
621592
:param help: When set to `true` will output available columns. This option can't
622593
be combined with any other query string option.
623-
:param local: If `true`, the request computes the list of selected nodes from
624-
the local cluster state. If `false` the list of selected nodes are computed
625-
from the cluster state of the master node. In both cases the coordinating
626-
node will send requests for further information to each selected node.
627594
:param master_timeout: Period to wait for a connection to the master node.
628595
:param s: Comma-separated list of column names or column aliases used to sort
629596
the response.
@@ -654,8 +621,6 @@ async def ml_data_frame_analytics(
654621
__query["help"] = help
655622
if human is not None:
656623
__query["human"] = human
657-
if local is not None:
658-
__query["local"] = local
659624
if master_timeout is not None:
660625
__query["master_timeout"] = master_timeout
661626
if pretty is not None:
@@ -727,7 +692,6 @@ async def ml_datafeeds(
727692
] = None,
728693
help: t.Optional[bool] = None,
729694
human: t.Optional[bool] = None,
730-
local: t.Optional[bool] = None,
731695
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
732696
pretty: t.Optional[bool] = None,
733697
s: t.Optional[
@@ -799,10 +763,6 @@ async def ml_datafeeds(
799763
:param h: Comma-separated list of column names to display.
800764
:param help: When set to `true` will output available columns. This option can't
801765
be combined with any other query string option.
802-
:param local: If `true`, the request computes the list of selected nodes from
803-
the local cluster state. If `false` the list of selected nodes are computed
804-
from the cluster state of the master node. In both cases the coordinating
805-
node will send requests for further information to each selected node.
806766
:param master_timeout: Period to wait for a connection to the master node.
807767
:param s: Comma-separated list of column names or column aliases used to sort
808768
the response.
@@ -831,8 +791,6 @@ async def ml_datafeeds(
831791
__query["help"] = help
832792
if human is not None:
833793
__query["human"] = human
834-
if local is not None:
835-
__query["local"] = local
836794
if master_timeout is not None:
837795
__query["master_timeout"] = master_timeout
838796
if pretty is not None:
@@ -1003,7 +961,6 @@ async def ml_jobs(
1003961
] = None,
1004962
help: t.Optional[bool] = None,
1005963
human: t.Optional[bool] = None,
1006-
local: t.Optional[bool] = None,
1007964
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
1008965
pretty: t.Optional[bool] = None,
1009966
s: t.Optional[
@@ -1172,10 +1129,6 @@ async def ml_jobs(
11721129
:param h: Comma-separated list of column names to display.
11731130
:param help: When set to `true` will output available columns. This option can't
11741131
be combined with any other query string option.
1175-
:param local: If `true`, the request computes the list of selected nodes from
1176-
the local cluster state. If `false` the list of selected nodes are computed
1177-
from the cluster state of the master node. In both cases the coordinating
1178-
node will send requests for further information to each selected node.
11791132
:param master_timeout: Period to wait for a connection to the master node.
11801133
:param s: Comma-separated list of column names or column aliases used to sort
11811134
the response.
@@ -1206,8 +1159,6 @@ async def ml_jobs(
12061159
__query["help"] = help
12071160
if human is not None:
12081161
__query["human"] = human
1209-
if local is not None:
1210-
__query["local"] = local
12111162
if master_timeout is not None:
12121163
__query["master_timeout"] = master_timeout
12131164
if pretty is not None:
@@ -1289,7 +1240,6 @@ async def ml_trained_models(
12891240
] = None,
12901241
help: t.Optional[bool] = None,
12911242
human: t.Optional[bool] = None,
1292-
local: t.Optional[bool] = None,
12931243
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
12941244
pretty: t.Optional[bool] = None,
12951245
s: t.Optional[
@@ -1362,10 +1312,6 @@ async def ml_trained_models(
13621312
:param h: A comma-separated list of column names to display.
13631313
:param help: When set to `true` will output available columns. This option can't
13641314
be combined with any other query string option.
1365-
:param local: If `true`, the request computes the list of selected nodes from
1366-
the local cluster state. If `false` the list of selected nodes are computed
1367-
from the cluster state of the master node. In both cases the coordinating
1368-
node will send requests for further information to each selected node.
13691315
:param master_timeout: Period to wait for a connection to the master node.
13701316
:param s: A comma-separated list of column names or aliases used to sort the
13711317
response.
@@ -1398,8 +1344,6 @@ async def ml_trained_models(
13981344
__query["help"] = help
13991345
if human is not None:
14001346
__query["human"] = human
1401-
if local is not None:
1402-
__query["local"] = local
14031347
if master_timeout is not None:
14041348
__query["master_timeout"] = master_timeout
14051349
if pretty is not None:
@@ -1516,7 +1460,6 @@ async def transforms(
15161460
] = None,
15171461
help: t.Optional[bool] = None,
15181462
human: t.Optional[bool] = None,
1519-
local: t.Optional[bool] = None,
15201463
master_timeout: t.Optional[t.Union[str, t.Literal[-1], t.Literal[0]]] = None,
15211464
pretty: t.Optional[bool] = None,
15221465
s: t.Optional[
@@ -1631,10 +1574,6 @@ async def transforms(
16311574
:param h: Comma-separated list of column names to display.
16321575
:param help: When set to `true` will output available columns. This option can't
16331576
be combined with any other query string option.
1634-
:param local: If `true`, the request computes the list of selected nodes from
1635-
the local cluster state. If `false` the list of selected nodes are computed
1636-
from the cluster state of the master node. In both cases the coordinating
1637-
node will send requests for further information to each selected node.
16381577
:param master_timeout: Period to wait for a connection to the master node.
16391578
:param s: Comma-separated list of column names or column aliases used to sort
16401579
the response.
@@ -1666,8 +1605,6 @@ async def transforms(
16661605
__query["help"] = help
16671606
if human is not None:
16681607
__query["human"] = human
1669-
if local is not None:
1670-
__query["local"] = local
16711608
if master_timeout is not None:
16721609
__query["master_timeout"] = master_timeout
16731610
if pretty is not None:

elasticsearch_serverless/_sync/client/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,7 +3290,6 @@ def search(
32903290
] = None,
32913291
lenient: t.Optional[bool] = None,
32923292
max_concurrent_shard_requests: t.Optional[int] = None,
3293-
min_compatible_shard_node: t.Optional[str] = None,
32943293
min_score: t.Optional[float] = None,
32953294
pit: t.Optional[t.Mapping[str, t.Any]] = None,
32963295
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3427,8 +3426,6 @@ def search(
34273426
requests per node this search executes concurrently. This value should be
34283427
used to limit the impact of the search on the cluster in order to limit the
34293428
number of concurrent shard requests.
3430-
:param min_compatible_shard_node: The minimum version of the node that can handle
3431-
the request Any handling node with a lower version will fail the request.
34323429
:param min_score: Minimum `_score` for matching documents. Documents with a lower
34333430
`_score` are not included in the search results.
34343431
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -3605,8 +3602,6 @@ def search(
36053602
__query["lenient"] = lenient
36063603
if max_concurrent_shard_requests is not None:
36073604
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
3608-
if min_compatible_shard_node is not None:
3609-
__query["min_compatible_shard_node"] = min_compatible_shard_node
36103605
if pre_filter_shard_size is not None:
36113606
__query["pre_filter_shard_size"] = pre_filter_shard_size
36123607
if preference is not None:

elasticsearch_serverless/_sync/client/async_search.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ def submit(
265265
] = None,
266266
lenient: t.Optional[bool] = None,
267267
max_concurrent_shard_requests: t.Optional[int] = None,
268-
min_compatible_shard_node: t.Optional[str] = None,
269268
min_score: t.Optional[float] = None,
270269
pit: t.Optional[t.Mapping[str, t.Any]] = None,
271270
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -388,7 +387,6 @@ def submit(
388387
per node this search executes concurrently. This value should be used to
389388
limit the impact of the search on the cluster in order to limit the number
390389
of concurrent shard requests
391-
:param min_compatible_shard_node:
392390
:param min_score: Minimum _score for matching documents. Documents with a lower
393391
_score are not included in the search results.
394392
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -517,8 +515,6 @@ def submit(
517515
__query["lenient"] = lenient
518516
if max_concurrent_shard_requests is not None:
519517
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
520-
if min_compatible_shard_node is not None:
521-
__query["min_compatible_shard_node"] = min_compatible_shard_node
522518
if pre_filter_shard_size is not None:
523519
__query["pre_filter_shard_size"] = pre_filter_shard_size
524520
if preference is not None:

0 commit comments

Comments
 (0)