计算机毕业论文答辩分析报告.ppt

答辩大纲 课题的主要研究内容 1、Lucene索引的技术简介 2、Lucene索引与数据库索引的性能对比 3、Lucene索引在招聘管理中的应用 1.2 Lucene的优势 2.1 对比测试 搜索主要代码如下: / /得到索引所在的目录 string indexDirectory = Server1MapPath ( IndexDB ) ; / /创建索引搜索器 IndexSearcher searcher = new IndexSearcher ( indexDirec2 tory) ; / /构建Query Query thisQuery = QueryParser1Parse ( this1Query, con2 tents , new ChineseAnalyzer ( ) ) ; / /开始搜索 Hits hits = searcher1Search ( thisQuery) ; 3.2 对比测试结果 2.3 对比测试结论 3.1 实现 Lucene 系统中默认使用StandardAnalyzer 分析器处理中文文档。StandardAnalyzer 分析器支持Unicode双字节编码。StandardAnalyzer 中文分词相当于一元分词(1 - gram) ,获得的结果是独立的单字索引。这种分词方式不会损失任何索引

文档评论(0)

1亿VIP精品文档

相关文档