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?

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)
dishant's avatar
1
dishant
asked 12 years ago

Comments

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.

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
answered 12 years ago
link

Comments

see more comments