0
0
bleve/search/searchers
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
..
base_test.go text analysis now moved out of index write lock onto goroutine 2014-09-24 08:13:14 -04:00
ordered_searchers_list.go add newline between license and package 2014-09-02 10:54:50 -04:00
search_boolean_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_boolean.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
search_conjunction_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_conjunction.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00
search_disjunction_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_disjunction.go major improvements to index row encoding 2015-04-03 16:50:48 -04:00
search_fuzzy.go added a missing check for errors 2015-03-11 16:56:01 -04:00
search_match_all_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_match_all.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00
search_match_none_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_match_none.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00
search_numeric_range_test.go major refactor of search package 2014-09-01 11:15:38 -04:00
search_numeric_range.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00
search_phrase_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_phrase.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00
search_regexp_test.go added regexp and wildcard queries 2015-03-11 16:57:22 -04:00
search_regexp.go added regexp and wildcard queries 2015-03-11 16:57:22 -04:00
search_term_prefix.go significant change to index format, support dictionary rows 2015-03-10 16:22:19 -04:00
search_term_test.go refactored API a bit 2014-10-31 09:40:23 -04:00
search_term.go first pass at checking errors that were ignored 2015-03-06 14:46:29 -05:00