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

Incremental indexing? #4

Open
vishaal27 opened this issue May 26, 2024 · 2 comments
Open

Incremental indexing? #4

vishaal27 opened this issue May 26, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vishaal27
Copy link

Hey, thanks for the great implementation. Are there any plans to add an incremental index construction for large documents? This would be useful when we cannot store the entire corpus in memory, and want to continually corpuses to the constructed index?

@jxmorris12 jxmorris12 added the enhancement New feature or request label May 27, 2024
@jxmorris12
Copy link
Owner

Hi @vishaal27 -- can you describe a little bit about how this would work? It's a situation where you can't store the corpus in memory but can store the bm25 vectors in memory, is that right? Because otherwise I think the library as implemented would fail, since the entire BM25 weights are stored as a single tensor.

@vishaal27
Copy link
Author

Yes exactly, this is the use-case I was imagining. Thanks!

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

2 participants