-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where would you add Whoosh Indexes? #8
Comments
Could you please post the complete stack trace of the error? |
|
Try creating doing the association under an application context:
|
Yes, that works! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to add fulltext search with Flask-Whoosh and I added searchable but when I try to use .whoose_search I get an error and saw this issue.
gyllstromk/Flask-WhooshAlchemy#13
So I assume I need to add the indexes but where do I add them?
I added the following to manage.py but I get a RuntimeError
raise RuntimeError('application not registered on db ' RuntimeError: application not registered on db instance and no application bound to current context
The text was updated successfully, but these errors were encountered: