- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: http://code.google.com/p/express-me/wiki/ExpressSearch
- 软件文档: http://code.google.com/p/express-me/wiki/ExpressSearchQuickStart
软件介绍
ExpressSearch 是 ExpressMe 建站系统所用的Lucene搜索引擎的封装。
示例代码:
Searcher<Post> createSearcher() {
SearcherImpl<Post> searcher = new SearcherImpl<Post>();
searcher.setAnalyzer(new org.apache.lucene.analysis.standard.StandardAnalyzer());
searcher.setDirectory(org.apache.lucene.store.FSDirectory.getDirectory("/var/search/"));
// must be writable!
searcher.setDocumentMapper(new DocumentMapper<Post>(Post.class));
searcher.setFormatter(new org.apache.lucene.search.highlight.SimpleHTMLFormatter("<b>", "</b>"));
searcher.init();
return searcher;
}
Flexible Pattern Matching in Strings
Gonzalo Navarro、Mathieu Raffinot / Cambridge University Press / 2007-7-30 / USD 64.99
String matching problems range from the relatively simple task of searching a single text for a string of characters to searching a database for approximate occurrences of a complex pattern. Recent ye......一起来看看 《Flexible Pattern Matching in Strings》 这本书的介绍吧!
