Skip to content

Commit

Permalink
Remove references to _shard_doc (#3808)
Browse files Browse the repository at this point in the history
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](elastic/elasticsearch-net#5337) and it looks like it was not added as part of Opensearch's [Point In Time work](opensearch-project/OpenSearch#1147).

Signed-off-by: Bryce Seager van Dyk <bryce@vandyk.net.nz>
(cherry picked from commit 3470787)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed May 18, 2023
1 parent 176d1d8 commit 4dfe4a1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions _search-plugins/point-in-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}
]
}
```
Expand All @@ -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"
Expand Down

0 comments on commit 4dfe4a1

Please sign in to comment.