Ask Your Question
0

Why doesn't askbot search capitalized words?

asked 2013-03-12 08:47:55 -0500

If I have a capitalized word in the title of the question and try to search for that word, then Askbot won't bring up any results.

I tried the same on this forum, for eg, there is question on SEO with "SEO" in the title. If you search for "SEO" it won't return any results. To confirm this I created the same question on my test site with "seo" not capitalized, and did the search again. This time it showed the question.

Are there some settings that I need to enable or configure to allow Askbot to search capitalized words in question titles?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-03-12 08:59:15 -0500

Evgeny gravatar image

This is not because of capitalization, but because database search engines treat short words as "stop words", they are just not included into the search indexes by default.

Both Postgresql and MySQL can configured to avoid this behavior. In MySQL there is a numeric parameter for the max length of the stopword. In postgres there are more options, please look in the database documentation.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-12 08:47:55 -0500

Seen: 90 times

Last updated: Mar 12 '13