[Mediawiki-l] Three Letter Searches with MediaWiki

Shannon Adams shannon_adams68 at yahoo.com
Thu Mar 22 13:28:41 UTC 2007


I finally got this working.  Here are the steps:
1. edited /etc/my.cnf and added ft_min_word_len=3 to [mysqld] section.
2. mysql --user=root --password=***** <wiki dbname>, then "repair table <wiki_dbname>.searchindex;"
3. edit LocalSettings.php and add $wgDBmysql4 = $wgEnablePersistentLC = true; 
4. edit AdminSettings.php to fill in admin username and password.
5. run php maintenance/updateSearchIndex.php.
6. restart mysqld and httpd.Thanks for all the advice.

Shannon



 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 



More information about the MediaWiki-l mailing list