0
0
bleve/index
Steve Yen a4110d325c scorch mem segment preallocates slices that are key'ed by postingId
The scorch mem segment build phase uses the append() idiom to populate
various slices that are keyed by postings list id's.  These slices
include...

* Postings
* PostingsLocs
* Freqs
* Norms
* Locfields
* Locstarts
* Locends
* Locpos
* Locarraypos

This change introduces an initialization step that preallocates those
slices up-front, by assigning postings list id's to terms up-front.

This change also has an additional effect of simplifying the
processDocument() logic to no longer have to worry about a first-time
initialization case, removing some duplicate'ish code.
2018-01-15 16:53:39 -08:00
..
scorch scorch mem segment preallocates slices that are key'ed by postingId 2018-01-15 16:53:39 -08:00
store import couchbase/vellum instead of couchbaselabs/vellum 2017-12-19 10:49:57 -08:00
upsidedown fix comment typo 2017-08-24 16:25:10 -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 reduce garbage created while processing facets 2017-03-02 17:00:46 -05:00