Skip to content
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

[Backport 2.x] Fixed Hybrid query for cases when it's wrapped into other compound queries (#498) #501

Conversation

martin-gaievski
Copy link
Member

Description

Manual backport of commit 3991fe7 from #498 to 2.x

Check List

  • New functionality includes testing.
    • All tests pass
  • Commits are signed as per the DCO using --signoff

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.

…eries (opensearch-project#498)

* Fixed nested field case

Signed-off-by: Martin Gaievski <gaievski@amazon.com>
(cherry picked from commit 3991fe7)
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
@martin-gaievski martin-gaievski force-pushed the backport/backport-498-to-2.x branch from c71bcbf to e0d8337 Compare December 1, 2023 04:16
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (04bf2a4) 85.53% compared to head (e0d8337) 85.41%.

Files Patch % Lines
...lsearch/search/query/HybridQueryPhaseSearcher.java 81.81% 0 Missing and 8 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #501      +/-   ##
============================================
- Coverage     85.53%   85.41%   -0.13%     
- Complexity      516      540      +24     
============================================
  Files            40       40              
  Lines          1521     1563      +42     
  Branches        238      248      +10     
============================================
+ Hits           1301     1335      +34     
  Misses          112      112              
- Partials        108      116       +8     

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

@martin-gaievski martin-gaievski merged commit 27a38cb into opensearch-project:2.x Dec 1, 2023
12 of 14 checks passed
martin-gaievski added a commit to martin-gaievski/neural-search that referenced this pull request Dec 8, 2023
…eries (opensearch-project#498) (opensearch-project#501)

* Fixed nested field case

(cherry picked from commit 3991fe7)

Signed-off-by: Martin Gaievski <gaievski@amazon.com>
(cherry picked from commit 27a38cb)
Signed-off-by: Martin Gaievski <gaievski@amazon.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.

4 participants