Skip to content

Commit

Permalink
Remove references to _shard_doc
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).
  • Loading branch information
SingingTree committed Apr 19, 2023
1 parent 58cd3e8 commit 0ae647d
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 0ae647d

Please sign in to comment.