Skip to content

Commit 1d1da1f

Browse files
SingingTreeharshavamsi
authored andcommitted
Remove references to _shard_doc (opensearch-project#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](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]>
1 parent 061d0ff commit 1d1da1f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

_search-plugins/point-in-time.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ GET /_search
5555
"keep_alive": "100m"
5656
},
5757
"sort": [
58-
{"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}},
59-
{"_shard_doc": "desc"}
58+
{"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}}
6059
]
6160
}
6261
```
@@ -77,8 +76,7 @@ GET /_search
7776
"keep_alive": "100m"
7877
},
7978
"sort": [
80-
{"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}},
81-
{"_shard_doc": "desc"}
79+
{"@timestamp": {"order": "asc", "format": "strict_date_optional_time_nanos"}}
8280
],
8381
"search_after": [
8482
"2021-05-20T05:30:04.832Z"

0 commit comments

Comments
 (0)