First time here? Check out the FAQ!
2

how can I enable search for 3 characters or less?

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?

Evgeny's avatar
13.2k
Evgeny
updated 2011-02-23 15:43:59 -0500
tfoote's avatar
161
tfoote
asked 2011-02-23 15:33:05 -0500
edit flag offensive 0 remove flag close merge delete

Comments

not a bug :) so retagged your post.
Evgeny's avatar Evgeny (2011-02-23 15:44:20 -0500) edit
add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
updated 2011-02-23 16:04:16 -0500, answered 2011-02-23 15:43:45 -0500
edit flag offensive 0 remove flag delete link

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's avatar mwise (2011-02-23 16:43:05 -0500) edit
add a comment see more comments