Ask Your Question
2

how can I enable search for 3 characters or less?

asked 2011-02-23 15:33:05 -0600

tfoote gravatar image

updated 2011-02-23 15:43:59 -0600

Evgeny gravatar image

I have some tags which are 2 or 3 characters but the search does not find them at all. And also 2 or 3 character strings don't match either even if they are full words in the title of a question.

Is there a way to make these found in the search?

edit retag flag offensive close merge delete

Comments

not a bug :) so retagged your post.
Evgeny gravatar imageEvgeny ( 2011-02-23 15:44:20 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2011-02-23 15:43:45 -0600

Evgeny gravatar image

updated 2011-02-23 16:04:16 -0600

Yes, in the "live" settings (Data entry section) adjust "Minimum length of search term for Ajax search". The default value is 4 characters.

It also will be necessary to configure your database accordingly. Btw, Postgresql has much better support for full text search - strongly recommend to switch your site from MySQL to Postgres, there are other very compelling reasons to switch as well - the sooner the better because migrating a small data set is much easier.

When you have time, please take a look at http://www.postgresql.org/docs/8.3/static/textsearch.html - postgres supports synonyms, thesaurus dictionaries, etc. things that allow fine tuning the search to suite your needs.

edit flag offensive delete link more

Comments

do you have a tutorial for setting up Postgresql ?.. the reason we are using mysql is because there was a tutorial for it in the documentation...
mwise gravatar imagemwise ( 2011-02-23 16:43:05 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2011-02-23 15:33:05 -0600

Seen: 116 times

Last updated: Feb 23 '11