-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add option that restores the ability to perform index compression in memory #580
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for contributing! Please see the comments about the tests.
Feel free to disregard the failing format test -- seems nothing to do with your change, not entirely sure why it's failing, I'll look into it separately.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #580 +/- ##
=======================================
Coverage 93.27% 93.27%
=======================================
Files 89 89
Lines 4448 4448
=======================================
Hits 4149 4149
Misses 299 299 ☔ View full report in Codecov by Sentry. |
@elshize, done with the comments, but I'll be making some minor code refactoring as well. |
@elshize, I've noticed a few tests are failing. This comes from the
|
Tests seem to be working fine in CI. What system are you running this on? What compiler? Can you show the output of one of the test? E.g.:
|
@elshize, effectively there is a problem with my compiler. I tested again compiling a debug version, and it worked fine. I have to look the reasons of this, but at the moment this isn't blocking for me. The error is "ILLEGAL INSTRUCTION", I'm using g++11:
|
@gustingonzalez is it possible you previously compiled the code on one machine and executed it on a different one? |
Great! That was the reason! |
This adds the
--in-memory
option to thecompress_inverted_index
command, restoring the in-memory compression and allowing it to avoid using an intermediate buffer.