接触了下lucene的升级,这里记录从0学习lucene之路。
公司从Lucene 3.6升级到当前最新的lucene 7.4.0,改动还是比较大的。
这里先分享下自己学习的几个有料的博客,以备以后学习:
下面是大神的博客:
https://www.cnblogs.com/xiaobai1226/p/7652093.html
http://how2j.cn/k/search-engine/search-engine-intro/1672.html#nowhere
以下是自己的总结:(可能不定期更新)
下面是gradle依赖的包:
compile "org.apache.lucene:lucene-core:7.4.0"
compile "org.apache.lucene:lucene-queryparser:7.4.0"
// compile "org.apache.lucene:lucene-analyzers-common:7.4.0" //暂时不需要
// compile "org.apache.lucene:backward-codecs:7.4.0" //兼容升级index文件可以需要