Add option that restores the ability to perform index compression in memory#580
Add option that restores the ability to perform index compression in memory#580gustingonzalez wants to merge 3 commits intomainfrom
Conversation
elshize
left a comment
There was a problem hiding this comment.
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-memoryoption to thecompress_inverted_indexcommand, restoring the in-memory compression and allowing it to avoid using an intermediate buffer.