Osclass forums

Support forums => old => Topic started by: renato on April 26, 2015, 12:20:07 am

Title: Wrong info when searching with less than 4 characters
Post by: renato on April 26, 2015, 12:20:07 am
Hi,

When searching osclass with less than 4 characters it will not work. I do know this. This is a restriction of using full text search.

Even so user should know that is not a problem, is a restriction on search. When using less than 4 letters osclass don't give any info and the info is "No Results" which is also wrong.

Do anybody changed this to give other info to user? Where should i change this?

Really like osclass, great tool. Keep up the good work.  :D

Tks
Title: Re: Wrong info when searching with less than 4 characters
Post by: _CONEJO on April 27, 2015, 11:13:39 am
https://doc.osclass.org/Fine-Tuning_MySQL_Full-Text_Search_-_Improving_search
Title: Re: Wrong info when searching with less than 4 characters
Post by: marius-ciclistu on April 22, 2017, 10:18:05 am
Hi,

When searching osclass with less than 4 characters it will not work. I do know this. This is a restriction of using full text search.

Even so user should know that is not a problem, is a restriction on search. When using less than 4 letters osclass don't give any info and the info is "No Results" which is also wrong.

Do anybody changed this to give other info to user? Where should i change this?

Really like osclass, great tool. Keep up the good work.  :D

Tks

Hi. In osclass 3.7.1 I resolved tthe ft_min_word_len problem by changing all words with under 4 characters to 4 character ones by adding "_" at the end of the word for every missing character.
It works fine with ft_min_word_len=4.

I posted the solution here http://stackoverflow.com/questions/43015613/how-to-modify-ft-min-word-len-4-to-ft-min-word-len-1-so-that-osclass-3-7-1-can-s (http://stackoverflow.com/questions/43015613/how-to-modify-ft-min-word-len-4-to-ft-min-word-len-1-so-that-osclass-3-7-1-can-s)