whoosh implementation wrapped in flask web app for is634