get schema from writer/searcher
added DB flags parsing for segment methods

* wrapped DB methods in ALLOW_THREADS block to release the GIL
execute store writer methods in a threadpool
write event to index using multiple transactions
update ISearcher providers