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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago
tfoote's avatar
161
tfoote
asked 14 years ago

Comments

not a bug :) so retagged your post.
Evgeny's avatar Evgeny (14 years ago)
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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 14 years ago, answered 14 years ago
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 (14 years ago)
see more comments