-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix: visit of inner query for FunctionScoreQueryBuilder #16776
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
4c44ed6
to
43459a6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16776 +/- ##
============================================
+ Coverage 72.27% 72.33% +0.05%
- Complexity 65611 65674 +63
============================================
Files 5311 5311
Lines 304942 304946 +4
Branches 44225 44226 +1
============================================
+ Hits 220407 220584 +177
+ Misses 66448 66269 -179
- Partials 18087 18093 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
❌ Gradle check result for 48eae48: 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: jdnvn <[email protected]>
Signed-off-by: jdnvn <[email protected]>
Signed-off-by: Konrad Gołuchowski <[email protected]>
This PR is stalled because it has been open for 30 days with no activity. |
Signed-off-by: gaobinlong <[email protected]>
❕ Gradle check result for 25d411e: 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. |
* add visitor logic to FunctionScoreQueryBuilder Signed-off-by: jdnvn <[email protected]> * update changelog Signed-off-by: jdnvn <[email protected]> * add assertion that inner query builder was visited Signed-off-by: Konrad Gołuchowski <[email protected]> --------- Signed-off-by: jdnvn <[email protected]> Signed-off-by: Konrad Gołuchowski <[email protected]> Signed-off-by: gaobinlong <[email protected]> Co-authored-by: jdnvn <[email protected]> Co-authored-by: gaobinlong <[email protected]> (cherry picked from commit 5a4c510) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) * add visitor logic to FunctionScoreQueryBuilder * update changelog * add assertion that inner query builder was visited --------- (cherry picked from commit 5a4c510) Signed-off-by: jdnvn <[email protected]> Signed-off-by: Konrad Gołuchowski <[email protected]> Signed-off-by: gaobinlong <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: jdnvn <[email protected]> Co-authored-by: gaobinlong <[email protected]>
…roject#16776) * add visitor logic to FunctionScoreQueryBuilder Signed-off-by: jdnvn <[email protected]> * update changelog Signed-off-by: jdnvn <[email protected]> * add assertion that inner query builder was visited Signed-off-by: Konrad Gołuchowski <[email protected]> --------- Signed-off-by: jdnvn <[email protected]> Signed-off-by: Konrad Gołuchowski <[email protected]> Signed-off-by: gaobinlong <[email protected]> Co-authored-by: jdnvn <[email protected]> Co-authored-by: gaobinlong <[email protected]> Signed-off-by: Vinay Krishna Pudyodu <[email protected]>
Description
This is version of #15404 cherrypicked on main.
Similar to #14739, but implements the visit method in FunctionScoreQueryBuilder to allow subqueries to be processed properly.
Related Issues
Resolves #15403
Similar to #15034
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.