-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Fix add_to_index overwrites and duplicate paths #157
Conversation
…ERTConfig" This reverts commit 6c53400.
…ic for ignoring non-metadata intialization conditions
Thank you 🙏 I'll review in a bit. Also, I thought you could be interested in checking out the other indexing approaches (flat & hnsw) and decoupling of |
LGTM except for one thing: It seems that when using the |
Thank you very much @anirudhdharmarajan. I have integrated the changes in #158 |
…ed + consolidated repeat logic Put all repeated read/write from/to disk index operations into functions and removed unnecessary path logic in add_to_index.
First off, I'm super excited for the changes you've started off in #158, @jlscheerer! That's going to be incredibly useful, thanks for taking the lead on that. @bclavie, good catch! I fixed that + consolidated repeated code and updated the path logic, lmk if these changes make sense. |
Actually, just realized that the path logic needs updating, fixing now. Please hold! |
I just reverted the logic for manipulating paths for the |
That would be super-useful! |
Thanks for your excellent work. May I ask when this PR will be merged into the main branch? |
Does this fix all the issues with add_to_index function ? |
Will the commit of this PR will be tagged as a new version available on pip during this days ? |
Hey @Akshay1921, not yet. These will be improved immensely by #158 which I'm expecting to land very soon. @paulthemagno @kevinningthu Next version release will likely be Monday (potentially today, but might be a bit short on time) and will include this + #158, which will greatly improve a lot of aspects with indexing! |
Thank you guys so much! |
This fixes the overwriting issue in add_to_index (from #71) and the issue with paths having duplicated sections (from #82).
I updated the tests to better cover the "add" functionality (moving them to their own file will come in a future PR).
I also added a few more items to the .gitignore.