Search code examples
sql-serverfull-text-searchlucene.netstack-overflowtagging

Fast multi-tag search plus result ordering and paging?


Can somebody explain how StackOverflow search works? I would like to add same features to a project I'm working on.

In SO, it's possible to filter the questions by multiple tags (e.g. c#, java) and get results sorted/paged by date or number of votes?

I realize that RDBMS with full-text engine can be used to filter and sort the questions but I'm not sure if that's the best solution?

Is it possible to somehow get top N ordered results from a full-text index?

Maybe Lucene.NET or Redis or something similar is used?


Solution

    • As of April 2011, Stackoverflow uses Lucene.NET.

    Source: (Jeff Atwood) https://blog.stackoverflow.com/2011/01/stack-overflow-search-now-81-less-crappy/