摘要: https://www.jianshu.com/p/8a217ce05475 github地址:https://github.com/apache/lucene-solr 第一步:git clone https://github.com/apache/lucene-solr.git 下载项目 第二步 阅读全文
posted @ 2018-11-09 17:19 一天不进步,就是退步 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 1.官方提供的代码demo 2.涉及到的类及其关系 2.1 TokenStream 2.2 Analyzer 2.3 Directory 2.4 IndexWriter 阅读全文
posted @ 2018-11-09 16:24 一天不进步,就是退步 阅读(378) 评论(0) 推荐(0) 编辑
摘要: 1.源码包 core: Lucene core library analyzers-common: Analyzers for indexing content in different languages and domains.analyzers-icu: Analysis integratio 阅读全文
posted @ 2018-11-09 11:35 一天不进步,就是退步 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 1.术语 lucene 在存储它的全文索引结构时,是有层次结构的,这涉及到5个层次:索引(Index);段(Segment);文档(Document);域(Field);词(Term),他们的关系如下图所示:(lucene 索引存储结构概念图) 下图是Lucene生成的索引的一个实例,右边是对这5个 阅读全文
posted @ 2018-11-09 10:07 一天不进步,就是退步 阅读(829) 评论(0) 推荐(0) 编辑