-
Notifications
You must be signed in to change notification settings - Fork 25.4k
[Synonym] Return Empty RuleSet #131032
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
[Synonym] Return Empty RuleSet #131032
Conversation
Hi @Samiul-TheSoccerFan, I've created a changelog YAML for you. |
Pinging @elastic/search-eng (Team:SearchOrg) |
Pinging @elastic/search-relevance (Team:Search - Relevance) |
Nice work @Samiul-TheSoccerFan ! Thanks for fixing this bug 🐛 , changes LGTM. You'll need to add the new test feature to other YAML test suites - check #129766 for an example of adding the test feature to other YAML tests. Apply this to all the YAML tests suites that error out |
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, thanks @Samiul-TheSoccerFan !
I added some comments about fixing the CI failures.
Thank you @carlosdelest for the review. One note related to the CI failures, I added the new |
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! Nice work. I'm not sure if we have to add a feature flag @carlosdelest per your example?
@elasticmachine update branch |
@Samiul-TheSoccerFan @kderusso I'm sorry, I threw you on the wrong path - there is no need to implement the code I mentioned, it is enough with what is implemented here. I saw the errors and automatically remembered that, should have double checked. |
Thank you @carlosdelest for the confirmation :) |
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Adding filter agg to include empty synonym sets * Adding featurespecification for synonyms * linting * Update docs/changelog/131032.yaml * update changelog * Adding synonym feature into module-info * sorted the expected response --------- Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This PR fixes an existing issue where
GET _synonyms
does not include ruleset with empty/no rules.Setup