Skip to content

streaming (incremental) MESSI - #74

Merged
MChatzakis merged 4 commits into
mainfrom
improvement/extending-streaming
Sep 18, 2026
Merged

MChatzakis merged 4 commits into
mainfrom
improvement/extending-streaming

Conversation

@sophisid

Copy link
Copy Markdown
Collaborator

No description provided.

@sophisid
sophisid requested a review from MChatzakis September 14, 2026 20:06

@MChatzakis MChatzakis left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Minor fixes, looks good otherwise

Comment thread demos/demo_Messi_Streaming.cpp Outdated

daisy::idx_t *indices = new daisy::idx_t[n_query * k];
float *distances = new float[n_query * k];
search.searchIndex(query, n_query, k, indices, distances);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Would be nice to include an intermediate search call in-between the data addition.

Comment thread lib/algos/Messi.cpp Outdated
std::vector<std::vector<idx_t>> &I,
std::vector<std::vector<float>> &D)
{
activateBreakpoints();

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Why did this return to the searchIndex functions?

range.r = 1e-5f;
std::vector<std::vector<daisy::idx_t>> indices;
std::vector<std::vector<float>> distances;
search.searchIndex(all.data() + 7 * DIM, 1, range, indices, distances);

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I think it would be nice to have an intermediate search call in the tests as well

@MChatzakis MChatzakis left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

We still have some activate breakpoint calls inside the search but it is okay for now. If you have time in the future, try to fix.

@MChatzakis
MChatzakis merged commit 75e996c into main Sep 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants