-
Notifications
You must be signed in to change notification settings - Fork 127
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
Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search. #1066
Conversation
dfa1a50
to
5ec5f54
Compare
Codecov Report
@@ Coverage Diff @@
## main #1066 +/- ##
============================================
- Coverage 85.33% 85.06% -0.28%
- Complexity 1149 1180 +31
============================================
Files 154 159 +5
Lines 4692 4787 +95
Branches 425 433 +8
============================================
+ Hits 4004 4072 +68
- Misses 497 520 +23
- Partials 191 195 +4
|
I am simplifying the logic to put the default k-NN algo at the end so that new checks can be added in future if we enable any new setting. |
…earch in filtered Nearest Neighbor Search. Signed-off-by: Navneet Verma <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-1066-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 5907cb5d29903d52f88574087a8f5cf92d0e4e0c
# Push it to GitHub
git push --set-upstream origin backport/backport-1066-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.10 2.10
# Navigate to the new working tree
cd .worktrees/backport-2.10
# Create a new branch
git switch --create backport/backport-1066-to-2.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 5907cb5d29903d52f88574087a8f5cf92d0e4e0c
# Push it to GitHub
git push --set-upstream origin backport/backport-1066-to-2.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.10 Then, create a pull request where the |
…earch in filtered Nearest Neighbor Search. (opensearch-project#1066) Signed-off-by: Navneet Verma <[email protected]>
…earch in filtered Nearest Neighbor Search. (opensearch-project#1066) Signed-off-by: Navneet Verma <[email protected]>
…earch in filtered Nearest Neighbor Search. (#1066) (#1068) Signed-off-by: Navneet Verma <[email protected]>
…earch in filtered Nearest Neighbor Search. (#1066) (#1068) Signed-off-by: Navneet Verma <[email protected]> (cherry picked from commit 865f613)
…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]>
Description
Added max distance computation logic to enhance the switch to exact search in filtered Nearest Neighbor Search.
Issues Resolved
#1049
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.