0
0
bleve/index/scorch/segment
Steve Yen ed4826b189 scorch zap merge optimization to byte-copy storedDocs
The optimization to byte-copy all the storedDocs for a given segment
during merging kicks in when the fields are the same across all
segments and when there are no deletions for that given segment.  This
can happen, for example, during data loading or insert-only scenarios.

As part of this commit, the Segment.copyStoredDocs() method was added,
which uses a single Write() call to copy all the stored docs bytes of
a segment to a writer in one shot.

And, getDocStoredMetaAndCompressed() was refactored into a related
helper function, getDocStoredOffsets(), which provides the storedDocs
metadata (offsets & lengths) for a doc.
2018-02-08 09:08:35 -08:00
..
mem scorch sorts fields by name to assign fieldID's 2018-02-08 09:06:30 -08:00
zap scorch zap merge optimization to byte-copy storedDocs 2018-02-08 09:08:35 -08:00
empty.go scorch ref-counting 2017-12-13 14:48:07 -08:00
int_test.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
int.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
segment.go Include overhead from data structures in segment's SizeInBytes 2018-01-17 11:11:44 -08:00