Add requires_full_scanmethod to codec to signal requring full scan upfront
That combination allows to skip the first estimation pass. This gives up to 2x on merge performance on multivalue indices.
This change may decrease compression as Line provides good compression for documents which have a fixed amount of values in each doc. The line codec should be replaced, by something that doesn't require a full scan up front.
Line
encoding for multivalue indicesrequires_full_scan
method to codec to signal requring full scan upfrontThat combination allows to skip the first estimation pass. This gives up to 2x on merge performance on multivalue indices.
This change may decrease compression as Line provides good compression for documents which have a fixed amount of values in each doc. The line codec should be replaced, by something that doesn't require a full scan up front.