iftechfoundation / ifdb-suggestion-tracker

Bugs and feature requests for a future IFDB update
10 stars 0 forks source link

Searches not matching short words #446

Closed dfabulich closed 5 months ago

dfabulich commented 5 months ago

https://ifdb.org/search?searchfor=top+100&list=1

Searching lists for "Top 100"

Expected: "IFDB Top 100" should match https://ifdb.org/viewlist?id=k7rrytlz3wihmx2o Actual: No results

https://ifdb.org/search?searchbar=six

Searching for "Six" Expected: "Six" should match https://ifdb.org/viewgame?id=kbd990q5fp7pythi Actual: No results

dfabulich commented 5 months ago

@salty-horse I can't figure this out. It seems like it's refusing to match stopwords, but I'm pretty sure I disabled ft_stopword_file. Why would this still be happening??

salty-horse commented 5 months ago

@dfabulich I suspect it's because the words are too short. Try changing ft_min_word_len to 1. See https://mariadb.com/kb/en/full-text-index-overview/#excluded-results (I don't know what it means by "partial words".)

dfabulich commented 5 months ago

That was it!