From 687148e8809c55aa22bea80b671f10fcda1a23eb Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Wed, 7 Jun 2023 09:43:18 -0400 Subject: [PATCH] Update point in time sort parameter (#4239) Signed-off-by: Fanit Kolchina --- _search-plugins/point-in-time-api.md | 3 +-- _search-plugins/point-in-time.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/_search-plugins/point-in-time-api.md b/_search-plugins/point-in-time-api.md index 570bef4a..8ac69635 100644 --- a/_search-plugins/point-in-time-api.md +++ b/_search-plugins/point-in-time-api.md @@ -94,8 +94,7 @@ GET /_search "keep_alive": "100m" }, "sort": [ - {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}}, - {"_shard_doc": "desc"} + {"@timestamp": {"order": "asc"}} ], "search_after": [ "2021-05-20T05:30:04.832Z" diff --git a/_search-plugins/point-in-time.md b/_search-plugins/point-in-time.md index 12317d5c..f44b00f8 100644 --- a/_search-plugins/point-in-time.md +++ b/_search-plugins/point-in-time.md @@ -55,7 +55,7 @@ GET /_search "keep_alive": "100m" }, "sort": [ - {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}} + {"@timestamp": {"order": "asc"}} ] } ``` @@ -76,7 +76,7 @@ GET /_search "keep_alive": "100m" }, "sort": [ - {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}} + {"@timestamp": {"order": "asc"}} ], "search_after": [ "2021-05-20T05:30:04.832Z"