Skip to content

[Backport 3.3] Disable query rewriter as a default behaviour#19593

Merged
rishabhmaurya merged 1 commit intoopensearch-project:3.3from
rishabhmaurya:disable-query-rewriter-3.3
Oct 10, 2025
Merged

[Backport 3.3] Disable query rewriter as a default behaviour#19593
rishabhmaurya merged 1 commit intoopensearch-project:3.3from
rishabhmaurya:disable-query-rewriter-3.3

Conversation

@rishabhmaurya
Copy link
Copy Markdown
Contributor

@rishabhmaurya rishabhmaurya commented Oct 10, 2025

(cherry picked from commit 8506d93)

Description

Disable query rewriter as a default behaviour. There have been several issues reported so far. Listing them here soon
main PR #19592

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

#19266
#19566
opensearch-project/dashboards-observability#2497 (no details on the issue yet, but information was shared offline that showed the test failure goes away if this setting is disabled)

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Comment thread CHANGELOG.md Outdated
- Bump opensearch-protobufs dependency to 0.18.0 and update transport-grpc module compatibility ([#19447](https://github.com/opensearch-project/OpenSearch/issues/19447))
- Bump opensearch-protobufs dependency to 0.19.0 ([#19453](https://github.com/opensearch-project/OpenSearch/issues/19453))
- Add a function to SearchPipelineService to check if system generated factory enabled or not ([#19545](https://github.com/opensearch-project/OpenSearch/pull/19545))
- Disable query rewriting framework as a default behaviour ([#19592](https://github.com/opensearch-project/OpenSearch/pull/19592))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you add this to 3.3 release notes as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ideally, we need the entry in CHANGELOG.md as well. Can be done as separate PR or here if the gradle check fails

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Created PR - #19594 for address this

Signed-off-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
(cherry picked from commit 8506d93)
Signed-off-by: Rishabh Maurya <rishabhmaurya05@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

❕ Gradle check result for 90afe39: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.04%. Comparing base (06d465f) to head (90afe39).
⚠️ Report is 2 commits behind head on 3.3.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #19593      +/-   ##
============================================
+ Coverage     72.99%   73.04%   +0.05%     
- Complexity    70482    70522      +40     
============================================
  Files          5717     5717              
  Lines        323055   323056       +1     
  Branches      46794    46794              
============================================
+ Hits         235798   235990     +192     
+ Misses        68237    68066     -171     
+ Partials      19020    19000      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rishabhmaurya rishabhmaurya merged commit b6bd4c8 into opensearch-project:3.3 Oct 10, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants