Difference between revisions of "Allow searching for short terms in mediawiki"

From Linuxintro
imported>ThorstenStaerk
(New page: Edit /etc/my.cnf, add a line ft_min_len=1 below [mysqld] = See also = http://www.mediawiki.org/wiki/Manual:FAQ#.E2.80.A6is_a_search_for_a_short_keyword_giving_no_hits.3F)
 
imported>ThorstenStaerk
Line 3: Line 3:
 
below  
 
below  
 
  [mysqld]
 
  [mysqld]
 +
Then
 +
/etc/init.d mysql restart
 +
mysql
 +
use wikidb;
 +
REPAIR TABLE searchindex QUICK;
  
 
= See also =
 
= See also =
 
http://www.mediawiki.org/wiki/Manual:FAQ#.E2.80.A6is_a_search_for_a_short_keyword_giving_no_hits.3F
 
http://www.mediawiki.org/wiki/Manual:FAQ#.E2.80.A6is_a_search_for_a_short_keyword_giving_no_hits.3F

Revision as of 12:04, 29 April 2009

Edit /etc/my.cnf, add a line

ft_min_len=1

below

[mysqld]

Then

/etc/init.d mysql restart
mysql 
use wikidb;
REPAIR TABLE searchindex QUICK;

See also

http://www.mediawiki.org/wiki/Manual:FAQ#.E2.80.A6is_a_search_for_a_short_keyword_giving_no_hits.3F