0
0
bleve/index
Steve Yen f65ba5c0f4 MB-28781 - scorch zap merge freq/loc copying only when fieldsSame
The optimization recently introduced in commit 530a3d24cf,
("scorch zap optimize merge by byte copying freq/norm/loc's") was to
byte-copy freq/norm/loc data directly during merging.  But, it was
incorrect if the fields were different across segments.

This change now performs that byte-copying merging optimization only
when the fields are the same across segments, and if not, leverages
the old approach of deserializing & re-serializing the freq/norm/loc
information, which has the important step of remapping fieldID's.

See also: https://issues.couchbase.com/browse/MB-28781
2018-03-19 11:26:51 -07:00
..
scorch MB-28781 - scorch zap merge freq/loc copying only when fieldsSame 2018-03-19 11:26:51 -07:00
store import couchbase/vellum instead of couchbaselabs/vellum 2017-12-19 10:49:57 -08:00
upsidedown Do not account IndexReader's size in the query RAM estimate 2018-03-15 13:23:58 -07:00
analysis.go working in-memory version 2017-11-29 11:33:35 -05:00
field_cache.go nicer formatting of license header 2016-10-02 10:13:14 -04:00
index.go Do not account IndexReader's size in the query RAM estimate 2018-03-15 13:23:58 -07:00