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

Feature: Merging Small Indexes #84

Open
3 tasks done
ashvardanian opened this issue Jun 4, 2023 · 4 comments
Open
3 tasks done

Feature: Merging Small Indexes #84

ashvardanian opened this issue Jun 4, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@ashvardanian
Copy link
Contributor

Describe what you are looking for

As a performance optimization, we can implement merge for existing indexes instead of moving (inserting) elements one by one.

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

It applies to everything

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rationalga
Copy link

Hi,
Has this feature been developed or not yet? While loading indexes that are bigger than RAM is great but its not useful if we can't create them in the first place i.e. during insertion index size can't outgrow the RAM (as far as I know). Thank you very much.

@mbautin
Copy link
Contributor

mbautin commented Aug 21, 2024

It would also be great to allow filtering entries during this merge process based on a predicate (e.g. filtering out entries that were later marked as deleted).

@abetomo
Copy link
Contributor

abetomo commented Nov 1, 2024

I would like this feature too.
Is it correct that a large index for merging is created in a writable mmap because it needs to be written when merging?

@kou
Copy link

kou commented Mar 4, 2025

How about #572?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants