0
0
bleve/index/scorch/segment
Steve Yen f177f07613 scorch zap segment merging reuses prealloc'ed PostingsIterator
During zap segment merging, a new zap PostingsIterator was allocated
for every field X segment X term.

This change optimizes by reusing a single PostingsIterator instance
per persistMergedRest() invocation.

And, also unused fields are removed from the PostingsIterator.
2018-02-08 17:24:30 -08:00
..
mem scorch sorts fields by name to assign fieldID's 2018-02-08 09:06:30 -08:00
zap scorch zap segment merging reuses prealloc'ed PostingsIterator 2018-02-08 17:24:30 -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