Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-15) (#775)
Signed-off-by: GitHub <[email protected]> Co-authored-by: saimedhi <[email protected]>
This commit is contained in:
co-authored by
saimedhi
parent
a380e7083f
commit
ea0a718754
@@ -180,7 +180,7 @@ class KnnClient(NamespacedClient):
|
||||
errors.
|
||||
:arg expand_wildcards: Whether to expand wildcard expression to
|
||||
concrete indices that are open, closed or both. Valid choices are all,
|
||||
open, closed, hidden, none.
|
||||
closed, hidden, none, open.
|
||||
:arg explain: Specify whether to return detailed information
|
||||
about score computation as part of a hit.
|
||||
:arg filter_path: Comma-separated list of filters used to reduce
|
||||
@@ -219,7 +219,7 @@ class KnnClient(NamespacedClient):
|
||||
:arg scroll: Specify how long a consistent view of the index
|
||||
should be maintained for scrolled search.
|
||||
:arg search_type: Search operation type. Valid choices are
|
||||
query_then_fetch, dfs_query_then_fetch.
|
||||
dfs_query_then_fetch, query_then_fetch.
|
||||
:arg seq_no_primary_term: Specify whether to return sequence
|
||||
number and primary term of the last modification of each hit.
|
||||
:arg size: Number of hits to return. Default is 10.
|
||||
@@ -232,7 +232,7 @@ class KnnClient(NamespacedClient):
|
||||
return.
|
||||
:arg suggest_field: Specify which field to use for suggestions.
|
||||
:arg suggest_mode: Specify suggest mode. Valid choices are
|
||||
missing, popular, always.
|
||||
always, missing, popular.
|
||||
:arg suggest_size: How many suggestions to return in response.
|
||||
:arg suggest_text: The source text for which the suggestions
|
||||
should be returned.
|
||||
|
||||
@@ -212,8 +212,8 @@ class NotificationsClient(NamespacedClient):
|
||||
|
||||
|
||||
:arg config_type: Type of notification configuration. Valid
|
||||
choices are slack, chime, microsoft_teams, webhook, email, sns,
|
||||
ses_account, smtp_account, email_group.
|
||||
choices are chime, email, email_group, microsoft_teams, ses_account,
|
||||
slack, smtp_account, sns, webhook.
|
||||
:arg error_trace: Whether to include the stack trace of returned
|
||||
errors.
|
||||
:arg filter_path: Comma-separated list of filters used to reduce
|
||||
|
||||
Reference in New Issue
Block a user