lucene工具luke
一、概述
1.1 简述:
luke是一款可以查询lucene索引信息的工具,可以帮我们查看当前的索引文件中有多少field、document等信息。注意:每一个lucene基本都对应一个luke版本,由于索引信息的不同,很容易读不出来。
1.2 操作:
a)直接下载:
luke地址: https://github.com/DmitryKey/luke/releases
b)利用maven生成:
1)maven下载:https://github.com/DmitryKey/luke
2)修改pom.xml文件:添加lucene-codecs依赖
3)生成包:
mvn package
4)运行
java -jar luke-with-deps.jar
5)运行画面