【文件属性】:
文件名称:Lucene查询工具LQT.zip
文件大小:27KB
文件格式:ZIP
更新时间:2022-08-08 10:26:57
开源项目
Lucene Query Tool (lqt) 是一个命令行工具用来执行 Lucene 查询并对结果进行格式化输出。
使用方法:
$ ./lqt
usage: LuceneQueryTool [options]
--analyzer for query, (KeywordAnalyzer | StandardAnalyzer)
(defaults to KeywordAnalyzer)
--fields fields to include in output (defaults to all)
-i,--index index (required)
--output-limit max number of docs to output
-q,--query (query | %all | %enumerate-fields |
%enumerate-terms field | %ids id [id ...] |
%id-file file) (required)
--query-field default field for query
--query-limit max number of query hits to process
--regex filter query by regex, syntax is field:/regex/
--show-hits show total hit count
--show-id show Lucene document id in results
--show-score show score in results
--sort-fields sort fields within document
--suppress-names suppress printing of field names
--tabular print tabular output (requires --fields with no
multivalued fields)
【文件预览】:
lqt-master
----src()
--------test()
--------main()
----LICENSE(11KB)
----README.md(10KB)
----lqt(367B)
----pom.xml(5KB)
----lqt.bat(418B)
----.gitignore(21B)