0
0
bleve/index/upside_down
Marty Schoch 867110e03b major improvements to index row encoding
improvements uncovered some issues with how k/v data was copied
or not.  to address this, kv abstraction layer now lets impl
specify if the bytes returned are safe to use after a reader
(or writer since writers are also readers) are closed
See index/store/KVReader - BytesSafeAfterClose() bool
false is the safe value if you're not sure
it will cause index impls to copy the data
Some kv impls already have created a copy a the C-api barrier
in which case they can safely return true.

Overall this yields ~25% speedup for searches with leveldb.
It yields ~10% speedup for boltdb.
Returning stored fields is now slower with boltdb, as previously
we were returning unsafe bytes.
2015-04-03 16:50:48 -04:00
..
analysis_pool.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
benchmark_boltdb_test.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
benchmark_common_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
benchmark_cznicb_test.go added some batch size 1000 microbenchmarks 2015-01-30 15:58:39 -08:00
benchmark_forestdb_test.go change path for forestdb test to correctly cleanup 2015-03-10 14:05:58 -04:00
benchmark_gtreap_test.go added gtreap in-memory, copy-on-write KVStore 2015-01-12 11:26:21 -08:00
benchmark_inmem_test.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
benchmark_leveldb_test.go added some batch size 1000 microbenchmarks 2015-01-30 15:58:39 -08:00
benchmark_null_test.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
dump_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
dump.go Fix typos in comments and strings 2014-12-18 18:43:12 +01:00
field_dict_test.go significant change to index format, support dictionary rows 2015-03-10 16:22:19 -04:00
field_dict.go significant change to index format, support dictionary rows 2015-03-10 16:22:19 -04:00
field_index_cache.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
index_reader.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
reader_test.go Fix typos in comments and strings 2014-12-18 18:43:12 +01:00
reader.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
row_merge.go significant change to index format, support dictionary rows 2015-03-10 16:22:19 -04:00
row_test.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
row.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
stats.go added support for tracking index stats and exposing via expvar 2014-10-02 11:12:49 -07:00
upside_down_test.go Fix typos in comments and strings 2014-12-18 18:43:12 +01:00
upside_down.go significant change to index format, support dictionary rows 2015-03-10 16:22:19 -04:00
upside_down.pb.go Update protobuf imports 2014-12-10 01:24:59 +03:00
upside_down.proto major change to fields 2014-08-19 08:58:26 -04:00