How does the search algorithm on stackoverflow work? I need to implement a search functionality in one of my web sites.
Asked
Active
Viewed 5,079 times
7
-
13Please don't take SO as something to emulate - when it comes to searching, it is one of the worst sites I have ever used. – Jun 04 '09 at 13:02
-
1The answer is: badly. Most of the time I get better results searching SO with google. Btw this question is probably going to be closed soon. – z - Jun 04 '09 at 13:02
-
1See this http://blog.stackoverflow.com/2008/10/stack-overflow-search-now-51-less-crappy/ fro the explanation of the idea. – sharptooth Jun 04 '09 at 13:05
5 Answers
2
Not very well. If you need your site searchable, try adding a Google search box through Adsense (and setting up a sitemap).

chaos
- 122,029
- 33
- 303
- 309
-
2definitely outsource this to Google. It's essentially what we do, since 90% of our traffic is from Google. – Jeff Atwood Jul 20 '09 at 10:29
0
and as stackoverflow saying:
- You're browsing through questions matching search terms search stackoverflow
- Search within specific tags by adding them in brackets, like [tag] or [tag-2].
- Enclose your search in "quotes" to match a phrase.
- You can narrow your search by using the ~ (near) and - (not) operators before words.*

Joel Coehoorn
- 399,467
- 113
- 570
- 794

Amr Elgarhy
- 66,568
- 69
- 184
- 301