paradoxG(r)eek
02-24-2017, 02:53 PM
Hello,
I know that MySQL has a 4 characters limitation for minimum string lenght (ft_min_word_len) and if I want to change it to 3 characters, I must edit my.cnf file and set:
[mysqld]
ft_min_word_len=3
and then rebuild FULLTEXT indexes.
My question is if vBulletin has somewhere a function to check the words lenght before perform the query, which returns the error message:
The following words are either very common, too long, or too short and were not included in your search:
I'm also wondering why this limitation exists for normal (VARCHAR) fields like Title and Username. I believe that these fields are having normal and not FULLTEXT indexes.
Any help will be appreciated. Actually what I want is which vB file to edit to change this text limitation from 4 to 3 characters.
Thank you
Christos
I know that MySQL has a 4 characters limitation for minimum string lenght (ft_min_word_len) and if I want to change it to 3 characters, I must edit my.cnf file and set:
[mysqld]
ft_min_word_len=3
and then rebuild FULLTEXT indexes.
My question is if vBulletin has somewhere a function to check the words lenght before perform the query, which returns the error message:
The following words are either very common, too long, or too short and were not included in your search:
I'm also wondering why this limitation exists for normal (VARCHAR) fields like Title and Username. I believe that these fields are having normal and not FULLTEXT indexes.
Any help will be appreciated. Actually what I want is which vB file to edit to change this text limitation from 4 to 3 characters.
Thank you
Christos