Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-21) (#747)

Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
This commit is contained in:
opensearch-trigger-bot[bot]
2024-05-20 20:53:47 -07:00
committed by GitHub
co-authored by saimedhi
parent 77313d2dfe
commit 5b40a85f9a
5 changed files with 7 additions and 24 deletions
+1 -11
View File
@@ -278,17 +278,7 @@ class KnnClient(NamespacedClient):
node you're connecting to, leave empty to get information from all
nodes.
:arg stat: Comma-separated list of stats to retrieve; use `_all`
or empty string to retrieve all stats. Valid choices are
circuit_breaker_triggered, total_load_time, eviction_count, hit_count,
miss_count, graph_memory_usage, graph_memory_usage_percentage,
graph_index_requests, graph_index_errors, graph_query_requests,
graph_query_errors, knn_query_requests, cache_capacity_reached,
load_success_count, load_exception_count, indices_in_cache,
script_compilations, script_compilation_errors, script_query_requests,
script_query_errors, nmslib_initialized, faiss_initialized,
model_index_status, indexing_from_model_degraded, training_requests,
training_errors, training_memory_usage,
training_memory_usage_percentage.
or empty string to retrieve all stats.
:arg error_trace: Whether to include the stack trace of returned
errors.
:arg filter_path: Comma-separated list of filters used to reduce