-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Use QueryCoordinatorContext for the rewrite in validate API. #18272
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
|
❌ 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? |
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚀 New features to boost your workflow:
|
Signed-off-by: Sarat Vemulapalli <vemulapallisarat@gmail.com>
Signed-off-by: Bo Zhang <bzhangam@amazon.com>
|
❌ 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? |
|
❕ 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. |
ca3b005
into
opensearch-project:main
…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>
…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>
…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>
…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>
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
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.