![]() |
Search for 3 characters
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: Code:
[mysqld] My question is if vBulletin has somewhere a function to check the words lenght before perform the query, which returns the error message: Quote:
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 |
Yes, vbulletin has a list of words that it considers common. It is in /includes/searchwords.php
|
Quote:
|
AdminCP > Message Searching Options > Search Index Minimum Word Length = set it to 3
|
Quote:
|
Quote:
The error message appears to be from a vB validation before sending the query to mysql. Maybe I'm wrong but this is what I understood. Edited: Ok, as Seven Skins wrote, I found it but, as I seen, it works only for full words and not for using wildcards to find the letters inside the word. |
All times are GMT. The time now is 07:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|