CS2 stands for C# Code Search. It's an academic project developed for the course of Information Retrieval at Università di Modena e Reggio Emilia, Italy.
It's written in C# for the .NET framework and built on top of several open source projects:
- Lucene.Net search engine
- CastleProject IoC container
- CSParser for parsing
- PowerCollections for collections not implemeneted in the .NET framework
- ASP.NET AJAX Control Toolkit for user interface enhancements
It is capable of indexing source code files (at the moment only C# code can be parsed) and searching among them with various parameters, like class, property and method names, as well as full-text queries.
The main user interface for interacting with the search engine is an ASP.NET website built for version 2.0 of the .NET framework (requires ASP.NET Ajax to be installed on your machine).
Via the homepage it's possible to query the index as well as forward requests for indexing files and directories, as shown in the screenshot below.
The results of the indexing can even be browsed and searched against with an application like Luke.
