From 4659b06eca732c3b60b80a5936c1b53de1a4ab54 Mon Sep 17 00:00:00 2001 From: Gao Binlong Date: Thu, 18 Apr 2024 14:30:00 +0800 Subject: [PATCH 1/2] Update supported version for the primary_only parameter in force-merge API Signed-off-by: Gao Binlong --- .../rest-api-spec/test/indices.forcemerge/10_basic.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml index 39fb1604d9596..1d2cfafdc4425 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml @@ -31,8 +31,8 @@ --- "Test primary_only parameter": - skip: - version: " - 2.99.99" - reason: "primary_only is available in 3.0+" + version: " - 2.12.99" + reason: "primary_only was introduced in 2.13.0" - do: indices.create: From 2ecef41e84880da1f795c41b5319c83a6a7cfef3 Mon Sep 17 00:00:00 2001 From: Gao Binlong Date: Thu, 18 Apr 2024 14:47:32 +0800 Subject: [PATCH 2/2] Update reason to make it consitent with 2.x Signed-off-by: Gao Binlong --- .../rest-api-spec/test/indices.forcemerge/10_basic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml index 1d2cfafdc4425..7410e020e1a91 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.forcemerge/10_basic.yml @@ -32,7 +32,7 @@ "Test primary_only parameter": - skip: version: " - 2.12.99" - reason: "primary_only was introduced in 2.13.0" + reason: "primary_only is available in 2.13.0+" - do: indices.create: