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 <bryce@vandyk.net.nz>
This commit is contained in:
Bryce Seager van Dyk 2023-05-19 05:14:53 +12:00 committed by GitHub
parent b52424e67b
commit 3470787811
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -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"