Skip to content

Commit fe97804

Browse files
authored
adds specifications for project_routing in the body of open pit request (#5754)
1 parent 4711176 commit fe97804

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

output/schema/schema.json

Lines changed: 20 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: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,17 @@ export interface Request extends RequestBase {
140140
* Filter indices if the provided query rewrites to `match_none` on every shard.
141141
*/
142142
index_filter?: QueryContainer
143+
/**
144+
* Specifies a subset of projects to target for the PIT request using project
145+
* metadata tags in a subset of Lucene query syntax.
146+
* Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
147+
* Examples:
148+
* _alias:my-project
149+
* _alias:_origin
150+
* _alias:*pr*
151+
* Supported in serverless only.
152+
* @availability serverless stability=stable visibility=feature_flag feature_flag=serverless.cross_project.enabled
153+
*/
154+
project_routing?: ProjectRouting
143155
}
144156
}

0 commit comments

Comments
 (0)