OpenWetWare:Software/Projects/MySQL 3 Character Searches

From OpenWetWare

< OpenWetWare:Software
Revision as of 16:22, 3 December 2007 by Ilya (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

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

Personal tools