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

[Manually backport 2.x] Allow nested knn field mapping when train model #1339

Merged

Conversation

junqiu-lei
Copy link
Member

@junqiu-lei junqiu-lei commented Dec 7, 2023

Description

Manually backport #1318 into 2.x branch to replace failed auto backport PR #1338

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

)

Signed-off-by: Junqiu Lei <[email protected]>
(cherry picked from commit 2e3ab95)
Signed-off-by: Junqiu Lei <[email protected]>
@junqiu-lei junqiu-lei changed the title [Manually backport 2.x] Allow nested knn field mapping when train model (#1318) [Manually backport 2.x] Allow nested knn field mapping when train model Dec 7, 2023
Copy link

codecov bot commented Dec 7, 2023

Codecov Report

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

Comparison is base (d5db2ae) 85.17% compared to head (12a9ed8) 85.13%.

Files Patch % Lines
...java/org/opensearch/knn/training/VectorReader.java 70.58% 3 Missing and 2 partials ⚠️
.../main/java/org/opensearch/knn/index/IndexUtil.java 93.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1339      +/-   ##
============================================
- Coverage     85.17%   85.13%   -0.05%     
- Complexity     1188     1194       +6     
============================================
  Files           155      155              
  Lines          4876     4903      +27     
  Branches        451      459       +8     
============================================
+ Hits           4153     4174      +21     
- Misses          527      531       +4     
- Partials        196      198       +2     

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

@junqiu-lei junqiu-lei merged commit 06d52d5 into opensearch-project:2.x Dec 7, 2023
87 of 88 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.

4 participants