From 4dfe4a1c93c14a1ed73624b49acde7cbf69f8571 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 18 May 2023 17:15:14 +0000 Subject: [PATCH] Remove references to _shard_doc (#3808) Opensearch does not currently appear to support `_shard_doc` as part of Point In Time search, so remove references to it from the documentation. Further details: - I don't see any reference to `_shard_doc` in the code on [Opensearch's](https://github.com/opensearch-project/OpenSearch) main branch at time of proposing the change. - ElasticSearch added `_shard_doc` in [7.12](https://github.com/elastic/elasticsearch-net/issues/5337) and it looks like it was not added as part of Opensearch's [Point In Time work](https://github.com/opensearch-project/OpenSearch/issues/1147). Signed-off-by: Bryce Seager van Dyk (cherry picked from commit 3470787811a22608d562b53f94296e478a11c0b8) Signed-off-by: github-actions[bot] --- _search-plugins/point-in-time.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_search-plugins/point-in-time.md b/_search-plugins/point-in-time.md index bceb940241..12317d5c52 100644 --- a/_search-plugins/point-in-time.md +++ b/_search-plugins/point-in-time.md @@ -55,8 +55,7 @@ GET /_search "keep_alive": "100m" }, "sort": [ - {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}}, - {"_shard_doc": "desc"} + {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}} ] } ``` @@ -77,8 +76,7 @@ GET /_search "keep_alive": "100m" }, "sort": [ - {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}}, - {"_shard_doc": "desc"} + {"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}} ], "search_after": [ "2021-05-20T05:30:04.832Z"