OpenWetWare:Software/Projects/MySQL 3 Character Searches

From OpenWetWare
Jump to navigationJump to search

MySQL 3 Character Searches

From: Fixing MySQL Searches

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

Source: 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