Search Block Limit

Permalink
Hi there,

I've just read here on this forum the the search function only allows a minimum of four characters. Is it possible to change this to a smaller amount?

Thanks!

 
Remo replied on at Permalink Reply
Remo
C5.2.1 had this limitation due to Lucene..

It changed in 5.3 but I haven't tested it yet
philp replied on at Permalink Reply
I've got several pages which have titles using numbers. "101 Site London" for example.

I need these to be searchable.

When I search for the whole string it's fine. When I search for "101" it can't find the page.

I was assuming that character limitation was the obvious explanation. But I might be wrong.
katz515 replied on at Permalink Reply
katz515
Yeah, I happened to do my research

http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html...

You need to be able to change the setting on the config of your MySQL (so more likely VPS users).

You need to add the following line to your config file under [mysqld] section....

[mysqld]
ft_min_word_len=3


And restart your MySQL server to make this change effective.

And you can actually minimize it to 2, or 1.... but I don't really recommend it.
philp replied on at Permalink Reply
Thanks katz515
87up replied on at Permalink Reply
87up
Hello everyone,

Im having the same problem. My site is hosted by concrete5.org. Where do i change the setting on the config file ?

Or is it possible to change this limit of four characters, somewhere else ?

Thank you in advance.