Xaiki/fix db init

this allows to init collections without search.
if we want to require search we shouldn't make it so optional, as it's fragile.