0
0
Fork 0
bleve/index/scorch/segment
Steve Yen 7a19e6fd7e scorch zap replace locsBitmap w/ 1 bit from freq-norm varint encoding
This is attempt #2 of the optimization that replaces the locsBitmap,
without any changes from the original commit attempt.  A commit that
follows this one contains the actual fix.

See also...
- commit 621b58dd83 (the 1st attempt)
- commit 49a4ee60ba (the revert)

-------------
The original commit message body from 621b58 was...

NOTE: this is a zap file format change.

The separate "postings locations" roaring Bitmap that encoded whether
a posting has locations info is now replaced by the least significant
bit in the freq varint encoded in the freq-norm chunkedIntCoder.

encode/decodeFreqHasLocs() are added as helper functions.
2018-03-23 12:50:24 -07:00
..
mem scorch mem processDocument reuses fieldLens/docMap arrays 2018-03-08 13:04:51 -08:00
zap scorch zap replace locsBitmap w/ 1 bit from freq-norm varint encoding 2018-03-23 12:50:24 -07:00
empty.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00
int.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
int_test.go initial version of scorch which persists index to disk 2017-12-06 18:33:47 -05:00
segment.go MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00