Closed asfimport closed 7 years ago
Michael McCandless (@mikemccand) (migrated from JIRA)
+1
I was also wondering if we could somehow, if the acceptable overhead ratio is "high enough", not use any blocking and just make a single packed ints array. This is even more RAM wasting, since you lose the per-block compression, but w/ a high acceptable overhead ratio, that's the idea ... or, we could make a separate DVF for this case.
Robert Muir (@rmuir) (migrated from JIRA)
+1
Adrien Grand (@jpountz) (migrated from JIRA)
not use any blocking and just make a single packed ints array [...] or, we could make a separate DVF for this case
+1 I think it would be easy to do it in the current MemoryDVF.
Adrien Grand (@jpountz) (migrated from JIRA)
Here is a patch.
Follow-up of http://search-lucene.com/m/SjmSW1CZYuZ1
MemoryDocValuesFormat takes an acceptable overhead ratio but it is only used when doing table compression. It should be used for all compression methods, especially DELTA_COMPRESSED whose encoding is based on BlockPackedWriter.
Migrated from LUCENE-5265 by Adrien Grand (@jpountz), resolved Aug 22 2017 Attachments: LUCENE-5265.patch