Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Modifying the "ft_min_word_len" variable?
Old 11-27-2005, 02:34 PM Modifying the "ft_min_word_len" variable?
the12thplaya's Avatar
Experienced Talker

Posts: 38
Trades: 0
Hi

How do I overwrite the "ft_min_word_len" variable if I don't have access to any ini files? I've looked on the MySQL site for documentation and it seems to be written for people that maybe host their own site that have full access to everything?

I've got quite a few keywords in a database that are 3 letters long like cat and fur. But they don't get found at the moment because ft_min_word_len is set as the defualt 4.

Is there a way I can change this from phpMyAdmin or in a PHP script/command that would overwrite SQL variables? A bit like ini_set()

Thanks

Kevin
the12thplaya is offline
Reply With Quote
View Public Profile Visit the12thplaya's homepage!
 
 
Register now for full access!
Old 11-27-2005, 03:50 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
I'm guessing this problem is due to your searches being full text searches. You could easily modify your code to account for 3 or less characters by using a like search rather than full text.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 11-28-2005, 08:15 PM
the12thplaya's Avatar
Experienced Talker

Posts: 38
Trades: 0
Quote:
Originally Posted by cptnwinky
I'm guessing this problem is due to your searches being full text searches. You could easily modify your code to account for 3 or less characters by using a like search rather than full text.
Cheers I'll give it a try tomorrow, and they are currently full text searches. LIKE won't work with multi keyword searches though will it?
the12thplaya is offline
Reply With Quote
View Public Profile Visit the12thplaya's homepage!
 
Old 11-29-2005, 04:32 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Yep, just create a single string with all the keywords.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Modifying the "ft_min_word_len" variable?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21931 seconds with 12 queries