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 <[email protected]>
  • Loading branch information
SingingTree authored and vagimeli committed May 26, 2023
1 parent a7b89f9 commit 3b852f2
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 3b852f2

Please sign in to comment.