I've been wondering for the longest time why I can't ever seem to find what I'm looking for when I search for questions on askbot.org. I think I finally figured it out.
I was doing a search for "feedback captcha" to see if anyone else has posted a feature request to add a captcha to the feedback form for anonymous users.
As expected, the search results were hit-and-miss. Some were on target, most were completely unrelated. But then I noticed something: none of the posts in the search results contained both "feedback" and "captcha"; each search hit referenced only one of the search terms.
I ran a quick experiment to test my hypothesis:
This is counter-intuitive behavior for search. Adding more words to a search query makes it more specific, so it should result in fewer search results.
Using the above example, Suggestions for antispam measures? was the only question that matched both search terms — that should have been the only result when I searched for "feeback captcha".
On askbot.org search is "or"-ed and on askbot.com "and"-ed, because on this site at the moment we are using MySQL as a database and on .com - postgres.
The difference is there because search is a function of a search engine, not the application (askbot/django in this case). Search works differently in MySQL, Postgres, etc.
Search function in Postgres is much more evolved, that's part of the reason why we recommend using PostgresQL as the database.
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 siteAsked: 2012-08-10 09:40:00 -0500
Seen: 65 times
Last updated: Aug 10 '12
What is the correct use of template substitution within translate section?
Accepting a previously unaccepted answer should not grant additional karma to author
"502 Bad Gateway" when visiting certain URLs, Part 2
Tags that are too long to display use truncated version when retagging question.
Viewing deleted question from an anonymoususer internal error
Editing a question title does not change SEO URL if I only append text to the title
Incorrect reputation check when attempting to reopen a closed question?
Wonkiness when attempting to post a comment on a closed question
Pressing return key when editing a question text field reloads the page.
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
This might have been fixed in 0.7.43.1; I notice that my hosted http://expats.askbot.com">site does not have this problem.
todofixthis ( 2012-08-10 09:40:32 -0500 )edit^ Augh! What happened to my link???
todofixthis ( 2012-08-10 09:41:27 -0500 )editRe: link - thanks for noticing. Links in the comments are processed a bit differently at the moment, I'll look into this.
Evgeny ( 2012-08-10 09:46:37 -0500 )editI think in an earlier post Evgeny mentioned that work is being done on integrating Haystack. So when probabilistic search is used say by plugging Xapian or Lucene, search will behave much more sensibly - right?!
Basel Shishani ( 2012-08-14 07:15:56 -0500 )editYes, Basel, search results fully depend on the search engine under the hood.
Evgeny ( 2012-08-14 17:27:47 -0500 )edit