Advertisement:

Author Topic: Wrong info when searching with less than 4 characters  (Read 1327 times)

renato

  • Newbie
  • *
  • Posts: 7
Wrong info when searching with less than 4 characters
« 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

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Wrong info when searching with less than 4 characters
« Reply #2 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