Skip to content

Commit 4068c6c

Browse files
Auto-generated code for main (#2691)
1 parent 2807398 commit 4068c6c

File tree

8 files changed

+2
-264
lines changed

8 files changed

+2
-264
lines changed

elasticsearch/_async/client/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,6 +2496,7 @@ async def info(
24962496
),
24972497
parameter_aliases={"_source": "source"},
24982498
)
2499+
@_stability_warning(Stability.EXPERIMENTAL)
24992500
async def knn_search(
25002501
self,
25012502
*,
@@ -3792,7 +3793,6 @@ async def search(
37923793
] = None,
37933794
lenient: t.Optional[bool] = None,
37943795
max_concurrent_shard_requests: t.Optional[int] = None,
3795-
min_compatible_shard_node: t.Optional[str] = None,
37963796
min_score: t.Optional[float] = None,
37973797
pit: t.Optional[t.Mapping[str, t.Any]] = None,
37983798
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3929,8 +3929,6 @@ async def search(
39293929
requests per node this search executes concurrently. This value should be
39303930
used to limit the impact of the search on the cluster in order to limit the
39313931
number of concurrent shard requests.
3932-
:param min_compatible_shard_node: The minimum version of the node that can handle
3933-
the request Any handling node with a lower version will fail the request.
39343932
:param min_score: Minimum `_score` for matching documents. Documents with a lower
39353933
`_score` are not included in the search results.
39363934
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -4107,8 +4105,6 @@ async def search(
41074105
__query["lenient"] = lenient
41084106
if max_concurrent_shard_requests is not None:
41094107
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
4110-
if min_compatible_shard_node is not None:
4111-
__query["min_compatible_shard_node"] = min_compatible_shard_node
41124108
if pre_filter_shard_size is not None:
41134109
__query["pre_filter_shard_size"] = pre_filter_shard_size
41144110
if preference is not None:

elasticsearch/_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/_async/client/cat.py

Lines changed: 0 additions & 119 deletions
Large diffs are not rendered by default.

elasticsearch/_async/client/fleet.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ async def search(
322322
indices_boost: t.Optional[t.Sequence[t.Mapping[str, float]]] = None,
323323
lenient: t.Optional[bool] = None,
324324
max_concurrent_shard_requests: t.Optional[int] = None,
325-
min_compatible_shard_node: t.Optional[str] = None,
326325
min_score: t.Optional[float] = None,
327326
pit: t.Optional[t.Mapping[str, t.Any]] = None,
328327
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -416,7 +415,6 @@ async def search(
416415
:param indices_boost: Boosts the _score of documents from specified indices.
417416
:param lenient:
418417
:param max_concurrent_shard_requests:
419-
:param min_compatible_shard_node:
420418
:param min_score: Minimum _score for matching documents. Documents with a lower
421419
_score are not included in the search results.
422420
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -531,8 +529,6 @@ async def search(
531529
__query["lenient"] = lenient
532530
if max_concurrent_shard_requests is not None:
533531
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
534-
if min_compatible_shard_node is not None:
535-
__query["min_compatible_shard_node"] = min_compatible_shard_node
536532
if pre_filter_shard_size is not None:
537533
__query["pre_filter_shard_size"] = pre_filter_shard_size
538534
if preference is not None:

elasticsearch/_sync/client/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,6 +2494,7 @@ def info(
24942494
),
24952495
parameter_aliases={"_source": "source"},
24962496
)
2497+
@_stability_warning(Stability.EXPERIMENTAL)
24972498
def knn_search(
24982499
self,
24992500
*,
@@ -3790,7 +3791,6 @@ def search(
37903791
] = None,
37913792
lenient: t.Optional[bool] = None,
37923793
max_concurrent_shard_requests: t.Optional[int] = None,
3793-
min_compatible_shard_node: t.Optional[str] = None,
37943794
min_score: t.Optional[float] = None,
37953795
pit: t.Optional[t.Mapping[str, t.Any]] = None,
37963796
post_filter: t.Optional[t.Mapping[str, t.Any]] = None,
@@ -3927,8 +3927,6 @@ def search(
39273927
requests per node this search executes concurrently. This value should be
39283928
used to limit the impact of the search on the cluster in order to limit the
39293929
number of concurrent shard requests.
3930-
:param min_compatible_shard_node: The minimum version of the node that can handle
3931-
the request Any handling node with a lower version will fail the request.
39323930
:param min_score: Minimum `_score` for matching documents. Documents with a lower
39333931
`_score` are not included in the search results.
39343932
:param pit: Limits the search to a point in time (PIT). If you provide a PIT,
@@ -4105,8 +4103,6 @@ def search(
41054103
__query["lenient"] = lenient
41064104
if max_concurrent_shard_requests is not None:
41074105
__query["max_concurrent_shard_requests"] = max_concurrent_shard_requests
4108-
if min_compatible_shard_node is not None:
4109-
__query["min_compatible_shard_node"] = min_compatible_shard_node
41104106
if pre_filter_shard_size is not None:
41114107
__query["pre_filter_shard_size"] = pre_filter_shard_size
41124108
if preference is not None:

elasticsearch/_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)