Include current databse name in whoosh index name

So there are no conflicts between indexes for different databases
That’s strange. Previously we were calling `get_parser` method on a class, and now we’re calling it on an instance. I guess that either the previous behaviour is wrong or calling it on an instance is unnecessary.