More than 3 characters on a search

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
lachistera
Regular
Posts: 28
Joined: Thu Jan 15, 2009 12:31 pm

More than 3 characters on a search

Post by lachistera »

Hello:
I would like to know if there is the possibilitiy of searching more than 3 characters on a search.
For exemple: I am searching "ONU" (or "UN", in english). Even if I try ONU*, *ONU*... there are no entries.

Thank you,

Daniel
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: More than 3 characters on a search

Post by garvinhicking »

Hi!

Which serendipity version on which database version are you using?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
lachistera
Regular
Posts: 28
Joined: Thu Jan 15, 2009 12:31 pm

Re: More than 3 characters on a search

Post by lachistera »

Serendipity version: 1.4
I use EasyPHP, with mysql version: 5.0.27
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: More than 3 characters on a search

Post by garvinhicking »

Hi!

For MySQL to allow searching for words with less than 3 characters (the wildcard does NOT count as a character) you must change the daemon configuration:

http://dev.mysql.com/doc/refman/5.1/en/ ... uning.html

S9y doesn't currently support other custom-coded fulltext search mechanisms, so for the time being you're stuck with that limitation, I'm sorry.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
lachistera
Regular
Posts: 28
Joined: Thu Jan 15, 2009 12:31 pm

Re: More than 3 characters on a search

Post by lachistera »

OK:
I'll try.

Thank you very much!

Daniel
Post Reply