Closed jmb closed 4 years ago
I should add that I am using MySQL as my database.
No idea, sorry. If you can identify an issue, I'll take an MR.
On Wed, 27 Nov 2019 at 14:58, Jonathan Batchelor notifications@github.com wrote:
I should add that I am using MySQL as my database.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/262?email_source=notifications&email_token=AABEKCDTUJRXDZX3VCPEQ6DQV2DJ7A5CNFSM4JSIAINKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFJYPGQ#issuecomment-559122330, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABEKCB4L2O4JDB4XDBSR6DQV2DJ7ANCNFSM4JSIAINA .
Thanks. I've found the SQL in your code and am trying it directly...
SELECT * FROM watson_searchentry WHERE MATCH (title, description, content) AGAINST ('across' IN BOOLEAN MODE);
...the same issues arise, so it's obviously a MySQL issue. Weird!
Ahah, I've found the issues. The default minimum word length is 4 and there is a list of "stop words": https://dev.mysql.com/doc/refman/8.0/en/fulltext-stopwords.html#fulltext-stopwords-stopwords-for-myisam-search-indexes
I have got watson set up for my project, however sometimes it fails to give me any results when I think it should. For example:
Can anyone shed any light on why would this happen?