Skip to content

Conversation

@mridula-s109
Copy link
Contributor

…tic#122823)

* SEARCH-802 - bug fixed - Query rules allows for creation of rules with invalid match criteria

* [CI] Auto commit changes from spotless

* Worked on the comments given in the PR

* [CI] Auto commit changes from spotless

* Fixed Integration tests

* [CI] Auto commit changes from spotless

* Made changes from the PR

* Update docs/changelog/122823.yaml

* [CI] Auto commit changes from spotless

* Fixed the duplicate code issue in queryRuleTests

* Refactored code to clean it up based on PR comments

* [CI] Auto commit changes from spotless

* Logger statements were removed

* Cleaned up the QueryRule tests

* [CI] Auto commit changes from spotless

* Update x-pack/plugin/ent-search/src/test/java/org/elasticsearch/xpack/application/EnterpriseSearchModuleTestUtils.java

Co-authored-by: Mike Pellegrini <[email protected]>

* [CI] Auto commit changes from spotless

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Co-authored-by: Kathleen DeRusso <[email protected]>
Co-authored-by: Mike Pellegrini <[email protected]>
(cherry picked from commit f6538e8)

# Conflicts:
#	x-pack/plugin/ent-search/src/main/java/org/elasticsearch/xpack/application/EnterpriseSearchFeatures.java
@mridula-s109 mridula-s109 requested review from a team and kderusso March 13, 2025 14:37
@mridula-s109 mridula-s109 changed the title [8.x] Prevent Query Rule Creation with Invalid Numeric Match Criteria (#122823) | Removed logger and also fixed the nitpick comments (#124650) [Backport 8.x] Prevent Query Rule Creation with Invalid Numeric Match Criteria (#122823) | Removed logger and also fixed the nitpick comments (#124650) Mar 13, 2025
@mridula-s109 mridula-s109 enabled auto-merge (squash) March 13, 2025 14:47
Copy link
Member

@kderusso kderusso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, once CI is green

@mridula-s109 mridula-s109 self-assigned this Mar 13, 2025
@mridula-s109 mridula-s109 merged commit fa36065 into elastic:8.x Mar 13, 2025
15 checks passed
@mridula-s109 mridula-s109 deleted the backport/8.x/pr-122823_pr-124650 branch June 17, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants