{{o.content | formatHtml}}
{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}
ExpressSearch 是 ExpressMe 建站系统所用的Lucene搜索引擎的封装。 示例代码: Searcher createSearcher() { SearcherImpl searcher = new SearcherImpl(); 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.class))...