0
0
bleve/index/store/leveldb
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
..
batch.go added some batch size 1000 microbenchmarks 2015-01-30 15:58:39 -08:00
iterator.go close levigo's read & write options 2015-01-12 18:42:19 -08:00
reader.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
store_test.go added configurable options to leveldb 2015-01-13 16:24:51 -05:00
store.go added configurable options to leveldb 2015-01-13 16:24:51 -05:00
util.go added build tag 'leveldb' to enable this kv store 2014-08-25 15:18:24 -04:00
writer.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00