Ask Your Question
2

how can I enable search for 3 characters or less?

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

tfoote gravatar image tfoote
161 5 3 13

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

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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?

delete close flag offensive retag edit

Comments

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

1 Answer

Sort by ยป oldest newest most voted
0

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

Evgeny gravatar image Evgeny flag of Chile
11074 50 84 182
http://askbot.org/

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

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.

link publish delete flag offensive edit

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 ( 2011-02-23 16:43:05 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

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

Seen: 50 times

Last updated: Feb 23 '11