From 72858044da9eff8cbb15d81f219e595f109936d9 Mon Sep 17 00:00:00 2001 From: Panagiotis Bailis Date: Wed, 20 Nov 2024 11:29:45 +0200 Subject: [PATCH 1/2] Adding missing json spec for allow_partial_search_results in point-in-time --- .../main/resources/rest-api-spec/api/open_point_in_time.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json b/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json index bce8dfd794dca..24e4a36f95af0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json @@ -55,6 +55,10 @@ "type": "string", "description": "Specific the time to live for the point in time", "required": true + }, + "allow_partial_search_results": { + "type": "boolean", + "description": "Specify whether to tolerate shards missing when creating the point-in-time, or throw an exception if any shard is missing. (default: false)" } }, "body":{ From b9c97db463a0211d42a39e8db3ec6f12446eb047 Mon Sep 17 00:00:00 2001 From: Panagiotis Bailis Date: Wed, 20 Nov 2024 11:33:34 +0200 Subject: [PATCH 2/2] iter --- .../main/resources/rest-api-spec/api/open_point_in_time.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json b/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json index 24e4a36f95af0..6f3d09c15c081 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/open_point_in_time.json @@ -58,7 +58,7 @@ }, "allow_partial_search_results": { "type": "boolean", - "description": "Specify whether to tolerate shards missing when creating the point-in-time, or throw an exception if any shard is missing. (default: false)" + "description": "Specify whether to tolerate shards missing when creating the point-in-time, or otherwise throw an exception. (default: false)" } }, "body":{