0
0
bleve/index
Steve Yen e82774ad20 scorch zap AnalysisResultsToSegmentBase()
AnalysisResultsToSegmentBase() allows analysis results to be directly
converted into a zap-encoded SegmentBase, which can then be introduced
onto the root, avoiding the creation of mem.Segment data structures.
This leads to some reduction of garbage memory allocations.

The grouping and sorting and shaping of the postings list information
is taken from the mem.Segment codepaths.

The encoding of stored fields reuses functions from zap's merger,
which has the largest savings of garbage memory avoidance.

And, the encoding of tf/loc chunks, postings & dictionary information
also follows the approach used by zap's merger, which also has some
savings of garbage memory avoidance.

In future changes, the mem.Segment dependencies will be removed from
zap, which should result in a smaller codebase.
2018-03-09 15:22:30 -08:00
..
scorch scorch zap AnalysisResultsToSegmentBase() 2018-03-09 15:22:30 -08:00
store import couchbase/vellum instead of couchbaselabs/vellum 2017-12-19 10:49:57 -08:00
upsidedown MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08: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 MB-28162: Provide API to estimate memory needed to run a search query 2018-03-06 13:53:42 -08:00