- 授权协议: 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;
}
Linux Device Drivers
Jonathan Corbet、Alessandro Rubini、Greg Kroah-Hartman / O'Reilly Media / 2005-2-17 / USD 39.95
Device drivers literally drive everything you're interested in--disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas ......一起来看看 《Linux Device Drivers》 这本书的介绍吧!
