-
Notifications
You must be signed in to change notification settings - Fork 21
Implement rangeQuery for VecSimTieredIndex - [MOD-5164]
#360
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
914214a to
1122fa4
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## feature_HNSW_tiered_index #360 +/- ##
============================================================
Coverage ? 96.78%
============================================================
Files ? 66
Lines ? 4600
Branches ? 0
============================================================
Hits ? 4452
Misses ? 148
Partials ? 0 ☔ View full report in Codecov by Sentry. |
37fdb48 to
e9d9e91
Compare
alonre24
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No actual comments, just add clarifications in tests
17481cf to
6f9c772
Compare
... including needed utility functions
the old entry point but then we get the new max level when trying to search using the old one
Co-authored-by: alonre24 <alonreshef24@gmail.com>
Co-authored-by: alonre24 <alonreshef24@gmail.com>
6f9c772 to
0fd8225
Compare
* implemented `rangeQuery` for VecSimTieredIndex, ... including needed utility functions * renaming `merge_results.h` and moving `filter_results` to it * fix build * first test and some fixes * improved test and added a parallel test * fix a bug where we safely get (from `safeGetEntryPoint`) the old entry point but then we get the new max level when trying to search using the old one * fix tests * Update comments * review fixes * after rebase fixes * added a general comment on tiered index's guarantees
Describe the changes in the pull request
Implements
rangeQueryfor VecSimTieredIndex.As part of this, the sorting (order) of the returned results moved from the C API to the C++ API and added an overload function for the range query call.
This PR also includes a fix for
searchBottomLayerEP, where we (safely) get a copy of the old entry point, but by the time we get to get themax_level_it was updated to the new max level of the new entry point, and we tried to look at a non-existing neighbor list of the old entry point at the new max level.Main objects this PR modified
VecSimTieredIndexsearchBottomLayerEPMark if applicable