![]() The zap SegmentBase struct is a refactoring of the zap Segment into the subset of fields that are needed for read-only ops, without any persistence related info. This allows us to use zap's optimized data encoding as scorch's in-memory segments. The zap Segment struct now embeds a zap SegmentBase struct, and layers on persistence. Both the zap Segment and zap SegmentBase implement scorch's Segment interface. |
||
---|---|---|
.. | ||
build.go | ||
dict_test.go | ||
dict.go | ||
posting.go | ||
segment_test.go | ||
segment.go |