-
Notifications
You must be signed in to change notification settings - Fork 115
Add project_routing param to _project/tags #5730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Following you can find the validation changes against the target branch for the APIs.
You can validate these APIs yourself by using the |
quux00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requested change in the project_routing description.
| "params": { | ||
| "project_routing": { | ||
| "type": "string", | ||
| "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for this endpoint, this description (which you probably grabbed from the other endpoints) is misleading, since this usage is different and doesn't actually search linked projects.
So I would like something (for this endpoint only) more like:
A Lucene query using project metadata tags used to filter which projects are returned in the response, such as ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
quux00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
See https://github.com/elastic/elasticsearch-serverless/pull/4868