From 644b2e34a8a9185d3d90226a33a1cd1948e165ee Mon Sep 17 00:00:00 2001 From: David Zane Date: Tue, 13 Aug 2024 17:06:51 -0700 Subject: [PATCH] Added nodes/stats indices search test Signed-off-by: David Zane --- CHANGELOG.md | 1 + tests/default/nodes/stats.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1f7db7db..4050a3e91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -71,6 +71,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added API spec for security plugin ([#271](https://github.com/opensearch-project/opensearch-api-specification/pull/271)) - Added `/_plugins/_security/api/certificates/` ([#439](https://github.com/opensearch-project/opensearch-api-specification/pull/439)) - Added `/_plugins/_ml/models/{model_id}/_deploy`, `_undeploy` and `knn_vector` type in `passage_embedding` ([#504](https://github.com/opensearch-project/opensearch-api-specification/pull/504)) +- Added nodes/stats indices search test ([#509])(https://github.com/opensearch-project/opensearch-api-specification/pull/509) ### Changed diff --git a/tests/default/nodes/stats.yaml b/tests/default/nodes/stats.yaml index a52225be7..7674f463f 100644 --- a/tests/default/nodes/stats.yaml +++ b/tests/default/nodes/stats.yaml @@ -166,5 +166,15 @@ chapters: - indices index_metric: - request_cache + response: + status: 200 + - synopsis: Get statistics for search. + path: /_nodes/stats/{metric}/{index_metric} + method: GET + parameters: + metric: + - indices + index_metric: + - search response: status: 200 \ No newline at end of file