[Mediawiki-l] Problems with search

Günter Gratzer Guenter.Gratzer at abf.co.at
Mon Jan 28 15:30:11 UTC 2008


Thanks Herta for your tip!

I added ft_min_word_len=3 to my.ini and rebuild the FULLTEXT index of table searchindex as described in your link. Now it works!

Regards
Günter 

-----Ursprüngliche Nachricht-----
Von: mediawiki-l-bounces at lists.wikimedia.org [mailto:mediawiki-l-bounces at lists.wikimedia.org] Im Auftrag von Herta Van den Eynde
Gesendet: Montag, 28. Jänner 2008 09:50
An: MediaWiki announcements and site admin list
Betreff: Re: [Mediawiki-l] Problems with search

On 28/01/2008, Günter Gratzer <Guenter.Gratzer at abf.co.at> wrote:
> hello,
> if I use search function in our mediawiki I often didn't get a result.
> e.g. if I search for "vpn" I don't get a result. If I enter "vpn-verbindung" the page is found. If I enter "verbindung" the page will be found as well.
>
> Anyone can explain me why it doesn't work?
>
> We use
>
> *       MediaWiki <http://www.mediawiki.org/> : 1.11.0
> *       PHP <http://www.php.net/> : 5.2.1
> *       MySQL <http://www.mysql.com/> : 5.0.37
>
> thanks!
>
> Günter

MySQL only indexes words > 3 characters.  You can change it, but you
may want to think it through before deciding whether you really want
it.  More details on
Cf. http://eventum.mysql.org/wiki/index.php/Fulltext_Search

Kind regards,

Herta
-- 
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list