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

implement the interfaces for range search, filter in pyramid #310

Merged
merged 3 commits into from
Jan 23, 2025

Conversation

inabao
Copy link
Collaborator

@inabao inabao commented Jan 9, 2025

@inabao inabao self-assigned this Jan 9, 2025
@inabao inabao added the kind/feature New feature or request label Jan 10, 2025
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 87.50000% with 18 lines in your changes missing coverage. Please review.

@@            Coverage Diff             @@
##             main     #310      +/-   ##
==========================================
+ Coverage   90.90%   91.01%   +0.10%     
==========================================
  Files         133      133              
  Lines        8459     8607     +148     
==========================================
+ Hits         7690     7834     +144     
- Misses        769      773       +4     
Flag Coverage Δ
cpp 91.01% <87.50%> (+0.10%) ⬆️

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

Components Coverage Δ
common 95.75% <ø> (ø)
datacell 91.77% <ø> (+0.07%) ⬆️
index 91.13% <87.50%> (+0.09%) ⬆️
simd 81.72% <ø> (ø)

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 797d7f4...b6f17d3. Read the comment docs.

@inabao inabao force-pushed the implementation-pyramid branch 2 times, most recently from 1d78937 to acf15c7 Compare January 15, 2025 14:55
@inabao inabao force-pushed the implementation-pyramid branch from bf78d31 to e479f2a Compare January 16, 2025 03:05
@inabao inabao force-pushed the implementation-pyramid branch 2 times, most recently from 25b6deb to d0f7f37 Compare January 17, 2025 10:39
Copy link
Collaborator

@LHT129 LHT129 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inabao inabao force-pushed the implementation-pyramid branch from d0f7f37 to f2ea40e Compare January 20, 2025 14:50
@inabao inabao force-pushed the implementation-pyramid branch from 39205d3 to 9e54c7c Compare January 21, 2025 09:54
reader->Read(offset, sizeof(size_t), &binary_size);
offset += sizeof(size_t);

auto new_eader = std::make_shared<SubReader>(reader, offset, binary_size);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new_eader -> new_reader ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

src/index/pyramid.cpp Show resolved Hide resolved
src/index/pyramid.cpp Show resolved Hide resolved
src/index/pyramid.h Show resolved Hide resolved
#include "pyramid_zparameters.h"
#include "safe_allocator.h"

namespace vsag {

class SubReader : public Reader {
public:
SubReader(std::shared_ptr<Reader> parrent_reader, uint64_t start_pos, uint64_t size)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parrent_reader -> parent_reader

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@inabao inabao force-pushed the implementation-pyramid branch from 9e54c7c to 12602df Compare January 23, 2025 06:54
jinjiabao.jjb added 2 commits January 23, 2025 15:20
Signed-off-by: jinjiabao.jjb <[email protected]>
Signed-off-by: jinjiabao.jjb <[email protected]>
Copy link
Collaborator

@jiaweizone jiaweizone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@inabao inabao merged commit 06ff47c into main Jan 23, 2025
16 checks passed
@inabao inabao deleted the implementation-pyramid branch January 23, 2025 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants