Skip to content

Commit f54d508

Browse files
swallezphilkra
andauthored
Missing ignore_unavailable query parameters on OpenPointInTimeRequest (#1557) (#1561)
Co-authored-by: Philip Krauss <[email protected]>
1 parent cc4883e commit f54d508

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

output/schema/schema.json

Lines changed: 20 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: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +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
34+
* @doc_id point-in-time-api
35+
* @index_privileges read
2836
*/
2937
export interface Request extends RequestBase {
3038
path_parts: {
3139
index: Indices
3240
}
3341
query_parameters: {
3442
keep_alive: Time
43+
ignore_unavailable?: boolean
3544
}
3645
}

0 commit comments

Comments
 (0)