Skip to content

Commit

Permalink
Fix Open Point in time API (#2829)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Sep 5, 2024
1 parent 84f7a33 commit de646de
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 7 deletions.
18 changes: 18 additions & 0 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 29 additions & 3 deletions output/schema/schema-serverless.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 29 additions & 3 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import { RequestBase } from '@_types/Base'
import { ExpandWildcards, Indices, Routing } from '@_types/common'
import { Duration } from '@_types/Time'
import { QueryContainer } from '@_types/query_dsl/abstractions'

/**
* A search request by default executes against the most recent visible data of the target indices,
Expand Down Expand Up @@ -65,4 +66,10 @@ export interface Request extends RequestBase {
*/
expand_wildcards?: ExpandWildcards
}
body: {
/**
* Allows to filter indices if the provided query rewrites to `match_none` on every shard.
*/
index_filter?: QueryContainer
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@
*/

import { Id } from '@_types/common'
import { ShardStatistics } from '@_types/Stats'

export class Response {
body: { id: Id }
body: {
/** Shards used to create the PIT */
_shards: ShardStatistics
id: Id
}
}

0 comments on commit de646de

Please sign in to comment.