For example, every time I post I question on stackoverflow.com, the UI suggest me plenty of similar questions. How is it functionality implemented? Are there some well-written algorithms about this?
views:
148answers:
2
+4
A:
They use the full text search feature in MSSQLServer
http://highscalability.com/stack-overflow-architecture
SQL Server's full text search is used extensively for the site search and detecting if a question has already been asked. Lucene.net is considered an attractive alternative.
I think they talk about in it one of the podcasts too?
Tommy
2009-08-15 15:24:26
A:
I actually have the whole source code for StackOverflow right here. It's pretty easy to understand:
class StackOverflow
{
static void Main(string[] args)
{
JonSkeet();
}
}
Mark Rushakoff
2009-08-15 15:29:00
its JonSkeet where magic happens.
Tom
2009-08-15 15:35:56
You might need a Console.Read() after JonSkeet() so the application might stay alive if there is no question left ;)
Yassir
2009-08-15 19:23:51