honmaple
honmaple
I just add ``` (push 'evil-escape-mode evil-mc-incompatible-minor-modes) ``` to disable 'jj'. Though it's not resolve,use the regular escape key is also a way.Thank you
`flask-maple` version require `0.5.3`, please check requirements.txt
`config.example`有大概的说明的
你使用的是Python2的版本吗,Python2用不了,请使用Python3
@stable-yi 这应该是flask-maple的版本问题,使用`pip install Flask-Maple==0.5.3`
`cannot import name StrictRedis` mean redis-py is not installed. use ``` pip install redis==2.10.6 ```
`flask-msearch` would update index automatically after rows have been created or updated, you shouldn't do it manually, `search.update_index()` always update all rows ranther than new rows. If you want to...
For convenience, `flask-msearch` always return a `Model` , if you want to use origin whoosh syntax, you can use ``` search = Search() .... search.msearch(Post, "apple", fields=None, limit=None, or_=True) ```
Using ``` from flask_msearch.backends import logger logger.setLevel(logging.CRITICAL) ``` to disable the log.
I have added an example about query case insensitive, please check it. ``` __msearch_schema__ = { "title": TEXT( stored=True, analyzer=RegexTokenizer() | CaseSensitivizer(), sortable=False), "content": TEXT( stored=True, analyzer=RegexTokenizer(), sortable=False, ) }...