-
Notifications
You must be signed in to change notification settings - Fork 33
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
Can not search using multiple words in queries and please add unicode support #39
Comments
Hi, so I believe that #45 should solve the unicode issue. I'll be releasing version 0.6.0 pretty soon that should have that issue fixed. As for your other issue, I'd need to see your code or a reproducer. Could you please provide one of those? |
The unicode support should be fixed in version 0.6.0: https://pypi.org/project/flask-whooshee/0.6.0/ |
@bkabrda I believe the multi-word search issue is due to the fact that There doesn't look to be any way to add or override the plugins when using this library 😢. |
I stand corrected, So not sure why searching |
OK, seems like an issue with the If my If I set |
@thejcannon I'm not sure I follow. Could you please be provide a more complete example or ideally a reproducer that produces the wrong result and what result you expect to be produced? Thanks! |
Add this to your tests (I put it before
|
Hi there I can confirm what thejcannon just said about searching for multiple words like Here's the code I am using for my flask route:
|
Thanks for the detailed info, I'll try looking into this. |
So this is actually pretty complicated and a result of my younger self doing things that my current self doesn't like too much. Let me explain (and see the bottom of this comment for a proposed solution): When How to fix this:
So e.g. for |
Hello. Thanks for posting information about how to use quotation marks. Settings In fact I have stumbled upon strange situation with different behavior when searching date like strings (e.g. 1985-07-28) and numbers with special characters (e.g. ABC/1985/07/28/ABC). Searching for a number gives me a lot of results, so as I understand PS. Thanks for easy to use implementation of Whoosh :-) |
Hi there, I found that making searches with multiple words return nothing, also if I try to search for anything that use non-english words the search will fail and I get a unicode error for example words in spanish or japanese. I tried search for things likes "Game of thrones" or " Dark Matter" on my site using flask-whooshee and I got no results from those queries but if I search for "Game" , "Dark" or anything with a single word the search works. Thanks for your time and hope I can soon use your extension, it looks pretty interesting.
The text was updated successfully, but these errors were encountered: