Flask-WhooshAlchemy3 icon indicating copy to clipboard operation
Flask-WhooshAlchemy3 copied to clipboard

BaseQuery object has no attribute 'search'

Open komus-Israel opened this issue 4 years ago • 2 comments

I followed the sample code in the readme but i end up with this error....no attribute search.

Is there more to be added to the sample code before i can make a search query ?

komus-Israel avatar May 31 '21 14:05 komus-Israel

I need more information, such as code samples and a proper stack trace.

blakev avatar Aug 19 '21 16:08 blakev

Same. image

See setup at: https://github.com/yomajo/Flask-Experiments/blob/whoosh/app/init.py

Note I cast wa.create_index into try_except, because it disturbing me to fill database with dummy data. with flask cli filldb

Same error while working on command in flask shell (not limited to request context constraint). Screenshot from 2022-07-30 17-31-00

Ubuntu 22;04.

yomajo avatar Jul 30 '22 14:07 yomajo