Skip to content

Commit 2fa5891

Browse files
committed
[DOCS] Note PIT searches should omit target
1 parent 4e974bc commit 2fa5891

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/reference/search/search-your-data/paginate-search-results.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ The API returns a PIT ID.
6868
// TESTRESPONSE[s/"id": "46ToAwMDaWR4BXV1aWQxAgZub2RlXzEAAAAAAAAAAAEBYQNpZHkFdXVpZDIrBm5vZGVfMwAAAAAAAAAAKgFjA2lkeQV1dWlkMioGbm9kZV8yAAAAAAAAAAAMAWICBXV1aWQyAAAFdXVpZDEAAQltYXRjaF9hbGw_gAAAAA=="/"id": $body.id/]
6969

7070
To get the first page of results, submit a search request with a `sort`
71-
argument. If using a PIT, specify the PIT ID in the `pit.id` parameter.
71+
argument. If using a PIT, specify the PIT ID in the `pit.id` parameter and omit
72+
the target data stream or index from the request path.
7273

7374
IMPORTANT: We recommend you include a tiebreaker field in your `sort`. This
7475
tiebreaker field should contain a unique value for each document. If you don't

0 commit comments

Comments
 (0)