Skip to content

Conversation

@bzhangam
Copy link
Contributor

Description

Use QueryCoordinatorContext for the rewrite in validate API. We recently introduced QueryCoordinatorContext for the query rewrite on the coordinate level. In validate API we need to do rewrite on the coordinate level so we should use QueryCoordinatorContext. It's also required to support a new feature semantic field in the neural plugin.

Related Issues

It's needed to support a new feature semantic field in the neural plugin. Without this change a valid neural query against the semantic field will be viewed as invalid in the validate query API.

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.

@github-actions
Copy link
Contributor

❌ Gradle check result for 52be8dc: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@bzhangam bzhangam closed this May 12, 2025
@bzhangam bzhangam reopened this May 12, 2025
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
@github-actions
Copy link
Contributor

✅ Gradle check result for 91a7a8b: SUCCESS

@github-actions
Copy link
Contributor

✅ Gradle check result for 04f5469: SUCCESS

@codecov
Copy link

codecov bot commented May 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.58%. Comparing base (a7b3d97) to head (812c1c5).
Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18272      +/-   ##
============================================
+ Coverage     72.56%   72.58%   +0.02%     
- Complexity    67391    67437      +46     
============================================
  Files          5488     5488              
  Lines        311030   311062      +32     
  Branches      45216    45217       +1     
============================================
+ Hits         225687   225786      +99     
- Misses        66916    66921       +5     
+ Partials      18427    18355      -72     

☔ 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.

Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
@github-actions
Copy link
Contributor

✅ Gradle check result for 93cb0a1: SUCCESS

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
@github-actions
Copy link
Contributor

❌ Gradle check result for 812c1c5: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@bzhangam bzhangam closed this May 14, 2025
@bzhangam bzhangam reopened this May 14, 2025
@github-actions
Copy link
Contributor

❕ Gradle check result for 812c1c5: 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.

@saratvemulapalli saratvemulapalli merged commit ca3b005 into opensearch-project:main May 15, 2025
56 of 58 checks passed
tanik98 pushed a commit to tanik98/OpenSearch that referenced this pull request May 27, 2025
…rch-project#18272)

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
tandonks pushed a commit to tandonks/OpenSearch that referenced this pull request Jun 1, 2025
…rch-project#18272)

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
neuenfeldttj added a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
…rch-project#18272)

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>Signed-off-by: TJ Neuenfeldt <tjneu@amazon.com>
neuenfeldttj pushed a commit to neuenfeldttj/OpenSearch that referenced this pull request Jun 26, 2025
…rch-project#18272)

Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Co-authored-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
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.

2 participants