Skip to content

Commit 3c3058e

Browse files
authored
Update api specs for search and async_search to match changes in #134240 (#134954)
1 parent 38db50a commit 3c3058e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@
135135
"type": "string",
136136
"description": "Specify the node or shard the operation should be performed on (default: random)"
137137
},
138+
"project_routing": {
139+
"type": "string",
140+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
141+
},
138142
"rest_total_hits_as_int": {
139143
"type": "boolean",
140144
"description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response",

rest-api-spec/src/main/resources/rest-api-spec/api/search.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@
119119
"type": "string",
120120
"description": "Specify the node or shard the operation should be performed on (default: random)"
121121
},
122+
"project_routing": {
123+
"type": "string",
124+
"description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless."
125+
},
122126
"q": {
123127
"type": "string",
124128
"description": "Query in the Lucene query string syntax"

0 commit comments

Comments
 (0)