利用SvnQusery对SVN库进行全文检索,等待有时间进行尝试。

http://svnquery.tigris.org/

SvnQuery is a fast full text search engine for subversion repositories. It searches every file in every revision. Not only the content of a file is indexed, but also its complete metadata like path, author, comments and properties. A simple, Google-like web frontend is provided, but it is expected that the query library and indexing mechanism can be reused in other frontends, e.g. a web service or a Visual Studio Plug-In.

SvnQuery is implemented in C# 3.0 and ASP.NET is used for the web frontend. The full text search is done by Lucene.Net which delivers an astonishing performance.

The interface to subversion is isolated so that the svn command line client or something like SharpSvn can be used as an implementation. Porting to Java using the original implementation of Lucene should be easy.

posted on 2010-05-06 16:28  silentmj  阅读(3093)  评论(0编辑  收藏  举报