Div Posted June 3, 2009 Share Posted June 3, 2009 (edited) Hi, It's sad that we can't search a word with only three letters, for example try to search 'vex pop' in the search form, it don't return any result... Search '"vex pop" site://odforce.net' on google and you'll see 31 results... It may be wanted, or came from your database search function which only allow four letters words. If you want to fix this i can help you as i've done a search function for our company database which works pretty well... Or you've may have planned to fix it with the new website. Cheers Nico Edited June 3, 2009 by Div Quote Link to comment Share on other sites More sharing options...
Jason Posted June 3, 2009 Share Posted June 3, 2009 Good idea.. I've changed it to minimum of 2 character now. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted June 3, 2009 Share Posted June 3, 2009 Ah!!!!!!! that explains why I could never find any posts for pbr recently Quote Link to comment Share on other sites More sharing options...
Ezz Posted June 3, 2009 Share Posted June 3, 2009 Good idea.. I've changed it to minimum of 2 character now. What about "GI" then ??? ;-) Erik Quote Link to comment Share on other sites More sharing options...
Jason Posted June 3, 2009 Share Posted June 3, 2009 What about "GI" then ??? ;-)Erik Grr, hate. Okay, I'll reduce further to 1. Quote Link to comment Share on other sites More sharing options...
symek Posted June 3, 2009 Share Posted June 3, 2009 (edited) Good idea.. I've changed it to minimum of 2 character now. Are you saying, Jason, that this wasn't a limitation of search engine but setup? Do you know how many times people were cursing odforce's search for that reason! he, he, funny... Edited June 3, 2009 by SYmek Quote Link to comment Share on other sites More sharing options...
Jason Posted June 3, 2009 Share Posted June 3, 2009 Are you saying, Jason, that this wasn't a limitation of search engine but setup? Do you know how many times people were cursing odforce's search for that reason! he, he, funny... Yeah.. sorry; I just found the preference. Quote Link to comment Share on other sites More sharing options...
Marc Posted June 4, 2009 Share Posted June 4, 2009 um, sadly though the preference won't do anything since by default MySQL fulltext searches only search 4 characters or more. Happily though I just quickly googled it to make sure I wasn't incorrect in my thinking and apparently since mysql5 you can control that by changing a setting in mysql : "The minimum and maximum lengths of words to be indexed are defined by the ft_min_word_len and ft_max_word_len system variables. The default minimum value is four characters; the default maximum is version dependent. If you change either value, you must rebuild your FULLTEXT indexes. For example, if you want three-character words to be searchable, you can set the ft_min_word_len variable by putting the following lines in an option file: [mysqld] ft_min_word_len=3 Then you must restart the server and rebuild your FULLTEXT indexes." Buut... sadly again this means rebuilding the FULLTEXT indexes. Which means the server has to go through all the posts you people have sullied our clean forum with over the last 10 years and reindexing them , which may take a while. So hang tight, it might get better soon :thumbsup: Quote Link to comment Share on other sites More sharing options...
Marc Posted June 4, 2009 Share Posted June 4, 2009 On the flipside of this, it may be easier integrating googles search engine into the forum and completely tossing out their shitty version. hmm... Quote Link to comment Share on other sites More sharing options...
edward Posted June 5, 2009 Share Posted June 5, 2009 The problem I have with using Google search for stuff like this is that it usually becomes very hard to do advanced searches based on specific fields of the posts (like say date). Quote Link to comment Share on other sites More sharing options...
Marc Posted June 5, 2009 Share Posted June 5, 2009 fair enough. I'll attempt to hax0r teh sett1ngs Quote Link to comment Share on other sites More sharing options...
edward Posted June 9, 2009 Share Posted June 9, 2009 Don't get me wrong, I think Google's search is useful as well but it's not a replacement necessarily. Quote Link to comment Share on other sites More sharing options...
Andz Posted June 10, 2009 Share Posted June 10, 2009 Talking about 3 letters word search: "poser and art" Memorable sentence from Marc Quote Link to comment Share on other sites More sharing options...
Marc Posted June 10, 2009 Share Posted June 10, 2009 I had to use google search to find that one... sigh . I was a bit grumpy with that fellow eh? I must have been tired or something :sleep1: I'll hack the mysql planet tomorrow, I promise. Quote Link to comment Share on other sites More sharing options...
Jason Posted June 10, 2009 Share Posted June 10, 2009 I'll hack the mysql planet tomorrow, I promise. Yeah, have a nap and rebuild your indices. Quote Link to comment Share on other sites More sharing options...
Marc Posted July 21, 2009 Share Posted July 21, 2009 3 letter word search seems to work now? I just tried 'vex' and it worked anyway. Let me know if you're all happy. Cheers Marc Quote Link to comment Share on other sites More sharing options...
Magnus Pettersson Posted July 21, 2009 Share Posted July 21, 2009 3 letter search! now i can sleep well at nights Quote Link to comment Share on other sites More sharing options...
edward Posted July 23, 2009 Share Posted July 23, 2009 Yay, thanks for all the hard work! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.