First time here? Check out the FAQ!
0

Why doesn't askbot search capitalized words?

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?

dishant's avatar
1
dishant
asked 2013-03-12 08:47:55 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2013-03-12 08:59:15 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments