Revert "Simplify pull from huxuan/Flask-WhooshAlchemy"

This reverts commit 8366e3745ad0974013e755aad1d5ac509f2d9c15.