Skip to content

Support iter filter search#506

Closed
Carrot-77 wants to merge 4 commits intoantgroup:mainfrom
Carrot-77:in-filter2
Closed

Support iter filter search#506
Carrot-77 wants to merge 4 commits intoantgroup:mainfrom
Carrot-77:in-filter2

Conversation

@Carrot-77
Copy link
Collaborator

A discard heap is introduced. The function of the discard heap is to save the nodes discarded in the previous round of queries and sort them by distance. If the results in the first round of queries are insufficient, another round of queries will be performed. In the next round, the nodes in the discard heap are used as candidate sets, and the neighbors that have not been visited are visited as new output results, and the discard heap is updated. Each subsequent round of queries will query ef_search nodes. The query ends when limitK is satisfied or discard is empty.

Signed-off-by: zourunxin.zrx <zourunxin.zrx@oceanbase.com>
Signed-off-by: zourunxin.zrx <zourunxin.zrx@oceanbase.com>
@Carrot-77 Carrot-77 force-pushed the in-filter2 branch 4 times, most recently from 15471d9 to b7a8fb5 Compare March 19, 2025 06:49
Signed-off-by: zourunxin.zrx <zourunxin.zrx@oceanbase.com>
@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

Attention: Patch coverage is 86.66667% with 36 lines in your changes missing coverage. Please review.

@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
- Coverage   91.45%   91.35%   -0.11%     
==========================================
  Files         173      176       +3     
  Lines       10609    10810     +201     
==========================================
+ Hits         9702     9875     +173     
- Misses        907      935      +28     
Flag Coverage Δ
cpp 91.35% <86.66%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
common 95.21% <ø> (ø)
datacell 93.63% <ø> (+0.14%) ⬆️
index 90.06% <94.33%> (+0.14%) ⬆️
simd 87.27% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4bde4b4...b51ebe0. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: zourunxin.zrx <zourunxin.zrx@oceanbase.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants