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 ] Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. (#1066) #1068

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

navneet1v
Copy link
Collaborator

@navneet1v navneet1v commented Aug 28, 2023

Description

Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. (#1066)

This is a backport of the PR #1066

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.

@navneet1v navneet1v changed the title [Backport 2.x ]Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. (#1066) [Backport 2.x ] Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. (#1066) Aug 28, 2023
…earch in filtered Nearest Neighbor Search. (opensearch-project#1066)

Signed-off-by: Navneet Verma <[email protected]>
@navneet1v navneet1v added Enhancements Increases software capabilities beyond original client specifications backport 2.10 backport to 2.10 branch labels Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Merging #1068 (36a6833) into 2.x (50fae34) will decrease coverage by 0.03%.
The diff coverage is 70.00%.

@@             Coverage Diff              @@
##                2.x    #1068      +/-   ##
============================================
- Coverage     85.11%   85.09%   -0.03%     
  Complexity     1159     1159              
============================================
  Files           154      154              
  Lines          4737     4730       -7     
  Branches        434      434              
============================================
- Hits           4032     4025       -7     
+ Misses          511      510       -1     
- Partials        194      195       +1     
Files Changed Coverage Δ
...java/org/opensearch/knn/index/query/KNNWeight.java 84.65% <62.50%> (-0.98%) ⬇️
...n/java/org/opensearch/knn/common/KNNConstants.java 94.11% <100.00%> (+0.36%) ⬆️
...ain/java/org/opensearch/knn/index/KNNSettings.java 84.05% <100.00%> (+0.27%) ⬆️

@navneet1v navneet1v merged commit 865f613 into opensearch-project:2.x Aug 28, 2023
65 of 68 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 28, 2023
…earch in filtered Nearest Neighbor Search. (#1066) (#1068)

Signed-off-by: Navneet Verma <[email protected]>
(cherry picked from commit 865f613)
navneet1v added a commit that referenced this pull request Aug 28, 2023
…earch in filtered Nearest Neighbor Search. (#1066) (#1068) (#1070)

Signed-off-by: Navneet Verma <[email protected]>
(cherry picked from commit 865f613)

Co-authored-by: Navneet Verma <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.10 backport to 2.10 branch Enhancements Increases software capabilities beyond original client specifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants