@@ -667,16 +667,12 @@ async def count(
667
667
specified.
668
668
:arg default_operator: The default operator for query string
669
669
query: `AND` or `OR`. This parameter can only be used when the `q` query
670
- string parameter is specified. Valid choices are and, or .
670
+ string parameter is specified. Valid choices are and, AND, or, OR .
671
671
:arg df: Field to use as default where no field prefix is given
672
672
in the query string. This parameter can only be used when the `q` query
673
673
string parameter is specified.
674
674
:arg error_trace: Whether to include the stack trace of returned
675
675
errors. Default is false.
676
- :arg expand_wildcards: Type of index that wildcard patterns can
677
- match. If the request can target data streams, this argument determines
678
- whether wildcard expressions match hidden data streams. Supports comma-
679
- separated values, such as `open,hidden`.
680
676
:arg filter_path: Used to reduce the response. This parameter
681
677
takes a comma-separated list of filters. It supports using wildcards to
682
678
match any field or part of a field’s name. You can also exclude fields
@@ -855,7 +851,7 @@ async def delete_by_query(
855
851
:arg conflicts: What to do if delete by query hits version
856
852
conflicts: `abort` or `proceed`. Valid choices are abort, proceed.
857
853
:arg default_operator: The default operator for query string
858
- query: `AND` or `OR`. Valid choices are and, or .
854
+ query: `AND` or `OR`. Valid choices are and, AND, or, OR .
859
855
:arg df: Field to use as default where no field prefix is given
860
856
in the query string.
861
857
:arg error_trace: Whether to include the stack trace of returned
@@ -897,8 +893,7 @@ async def delete_by_query(
897
893
:arg search_timeout: Explicit timeout for each search request.
898
894
Defaults to no timeout.
899
895
:arg search_type: The type of the search operation. Available
900
- options: `query_then_fetch`, `dfs_query_then_fetch`. Valid choices are
901
- dfs_query_then_fetch, query_then_fetch.
896
+ options: `query_then_fetch`, `dfs_query_then_fetch`.
902
897
:arg size: Deprecated, use `max_docs` instead.
903
898
:arg slices: The number of slices this task should be divided
904
899
into. Valid choices are auto.
@@ -1225,7 +1220,7 @@ async def explain(
1225
1220
parameter can only be used when the `q` query string parameter is
1226
1221
specified.
1227
1222
:arg default_operator: The default operator for query string
1228
- query: `AND` or `OR`. Valid choices are and, or .
1223
+ query: `AND` or `OR`. Valid choices are and, AND, or, OR .
1229
1224
:arg df: Field to use as default where no field prefix is given
1230
1225
in the query string. Default is _all.
1231
1226
:arg error_trace: Whether to include the stack trace of returned
@@ -1651,8 +1646,7 @@ async def msearch(
1651
1646
returned as an integer in the response. Defaults to false, which returns
1652
1647
an object. Default is false.
1653
1648
:arg search_type: Indicates whether global term and document
1654
- frequencies should be used when scoring returned documents. Valid
1655
- choices are dfs_query_then_fetch, query_then_fetch.
1649
+ frequencies should be used when scoring returned documents.
1656
1650
:arg source: The URL-encoded request definition. Useful for
1657
1651
libraries that do not accept a request body for non-POST requests.
1658
1652
:arg typed_keys: Specifies whether aggregation and suggester
@@ -1716,8 +1710,7 @@ async def msearch_template(
1716
1710
`hits.total` as an integer. If `false`, it returns `hits.total` as an
1717
1711
object. Default is false.
1718
1712
:arg search_type: The type of the search operation. Available
1719
- options: `query_then_fetch`, `dfs_query_then_fetch`. Valid choices are
1720
- dfs_query_then_fetch, query_then_fetch.
1713
+ options: `query_then_fetch`, `dfs_query_then_fetch`.
1721
1714
:arg source: The URL-encoded request definition. Useful for
1722
1715
libraries that do not accept a request body for non-POST requests.
1723
1716
:arg typed_keys: If `true`, the response prefixes aggregation
@@ -1926,8 +1919,7 @@ async def rank_eval(
1926
1919
are not included in the response.
1927
1920
:arg pretty: Whether to pretty format the returned JSON
1928
1921
response. Default is false.
1929
- :arg search_type: Search operation type Valid choices are
1930
- dfs_query_then_fetch, query_then_fetch.
1922
+ :arg search_type: Search operation type
1931
1923
:arg source: The URL-encoded request definition. Useful for
1932
1924
libraries that do not accept a request body for non-POST requests.
1933
1925
"""
@@ -1950,6 +1942,7 @@ async def rank_eval(
1950
1942
"pretty" ,
1951
1943
"refresh" ,
1952
1944
"requests_per_second" ,
1945
+ "require_alias" ,
1953
1946
"scroll" ,
1954
1947
"slices" ,
1955
1948
"source" ,
@@ -2020,7 +2013,7 @@ async def reindex_rethrottle(
2020
2013
headers : Any = None ,
2021
2014
) -> Any :
2022
2015
"""
2023
- Changes the number of requests per second for a particular Reindex operation.
2016
+ Changes the number of requests per second for a particular reindex operation.
2024
2017
2025
2018
2026
2019
:arg task_id: Identifier for the task.
@@ -2138,8 +2131,6 @@ async def scroll(
2138
2131
Allows to retrieve a large numbers of results from a single search request.
2139
2132
2140
2133
2141
- :arg body: The scroll ID if not passed by URL or query
2142
- parameter.
2143
2134
:arg scroll_id: The scroll ID for scrolled search
2144
2135
:arg error_trace: Whether to include the stack trace of returned
2145
2136
errors. Default is false.
@@ -2281,7 +2272,7 @@ async def search(
2281
2272
executing cross-cluster search (CCS) requests. Default is True.
2282
2273
:arg default_operator: The default operator for query string
2283
2274
query: AND or OR. This parameter can only be used when the `q` query
2284
- string parameter is specified. Valid choices are and, or .
2275
+ string parameter is specified. Valid choices are and, AND, or, OR .
2285
2276
:arg df: Field to use as default where no field prefix is given
2286
2277
in the query string. This parameter can only be used when the q query
2287
2278
string parameter is specified.
@@ -2371,8 +2362,7 @@ async def search(
2371
2362
:arg search_pipeline: Customizable sequence of processing stages
2372
2363
applied to search queries.
2373
2364
:arg search_type: How distributed term frequencies are
2374
- calculated for relevance scoring. Valid choices are
2375
- dfs_query_then_fetch, query_then_fetch.
2365
+ calculated for relevance scoring.
2376
2366
:arg seq_no_primary_term: If `true`, returns sequence number and
2377
2367
primary term of the last modification of each hit.
2378
2368
:arg size: Defines the number of hits to return. By default, you
@@ -2570,8 +2560,7 @@ async def search_template(
2570
2560
specific shard.
2571
2561
:arg scroll: Specifies how long a consistent view of the index
2572
2562
should be maintained for scrolled search.
2573
- :arg search_type: The type of the search operation. Valid
2574
- choices are dfs_query_then_fetch, query_then_fetch.
2563
+ :arg search_type: The type of the search operation.
2575
2564
:arg source: The URL-encoded request definition. Useful for
2576
2565
libraries that do not accept a request body for non-POST requests.
2577
2566
:arg typed_keys: If `true`, the response prefixes aggregation
@@ -2834,7 +2823,7 @@ async def update_by_query(
2834
2823
:arg conflicts: What to do if update by query hits version
2835
2824
conflicts: `abort` or `proceed`. Valid choices are abort, proceed.
2836
2825
:arg default_operator: The default operator for query string
2837
- query: `AND` or `OR`. Valid choices are and, or .
2826
+ query: `AND` or `OR`. Valid choices are and, AND, or, OR .
2838
2827
:arg df: Field to use as default where no field prefix is given
2839
2828
in the query string.
2840
2829
:arg error_trace: Whether to include the stack trace of returned
@@ -2880,8 +2869,7 @@ async def update_by_query(
2880
2869
operation. Default is 100.
2881
2870
:arg search_timeout: Explicit timeout for each search request.
2882
2871
:arg search_type: The type of the search operation. Available
2883
- options: `query_then_fetch`, `dfs_query_then_fetch`. Valid choices are
2884
- dfs_query_then_fetch, query_then_fetch.
2872
+ options: `query_then_fetch`, `dfs_query_then_fetch`.
2885
2873
:arg size: Deprecated, use `max_docs` instead.
2886
2874
:arg slices: The number of slices this task should be divided
2887
2875
into. Valid choices are auto.
0 commit comments