Skip to content

Commit af0e5c9

Browse files
Missing ignore_unavailable query parameters on OpenPointInTimeRequest (#1557) (#1559)
Co-authored-by: Philip Krauss <[email protected]>
1 parent 6db48a1 commit af0e5c9

File tree

4 files changed

+28
-3
lines changed

4 files changed

+28
-3
lines changed

output/schema/schema.json

Lines changed: 19 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/open_point_in_time/OpenPointInTimeRequest.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,24 @@ import { Indices } from '@_types/common'
2222
import { Time } from '@_types/Time'
2323

2424
/**
25+
* A search request by default executes against the most recent visible data of the target indices,
26+
* which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the
27+
* state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple
28+
* search requests using the same point in time. For example, if refreshes happen between
29+
* `search_after` requests, then the results of those requests might not be consistent as changes happening
30+
* between searches are only visible to the more recent point in time.
2531
* @rest_spec_name open_point_in_time
2632
* @since 7.10.0
2733
* @stability stable
2834
* @doc_id point-in-time-api
35+
* @index_privileges read
2936
*/
3037
export interface Request extends RequestBase {
3138
path_parts: {
3239
index: Indices
3340
}
3441
query_parameters: {
3542
keep_alive: Time
43+
ignore_unavailable?: boolean
3644
}
3745
}

0 commit comments

Comments
 (0)