OpenWetWare:Software/Projects/MySQL 3 Character Searches: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
(New page: MySQL 3 Character Searches From: [http://www.mwusers.com/forums/showthread.php?t=2018 Fixing MySQL Searches] Search is restricted to words > 3 characters. There seems to be a solution: ...)
 
No edit summary
 
Line 9: Line 9:


Here are the basic steps:
Here are the basic steps:
#edit my.cnf, adding the line "ft_min_word_len=3"
#restart MySQL server
#THEN run "php maintenance/updateSearchIndex.php"


1) edit my.cnf, adding the line "ft_min_word_len=3"
See also [[OpenWetWare:Searching_preferences|searching preferences]]
2) restart MySQL server
3) THEN run "php maintenance/updateSearchIndex.php"

Latest revision as of 13:22, 3 December 2007

MySQL 3 Character Searches

From: Fixing MySQL Searches

Search is restricted to words > 3 characters. There seems to be a solution:

Source: http://ywwg.com/wordpress/?p=338 Three Letter Searches with MediaWiki

Here are the basic steps:

  1. edit my.cnf, adding the line "ft_min_word_len=3"
  2. restart MySQL server
  3. THEN run "php maintenance/updateSearchIndex.php"

See also searching preferences