LQT Lucene 查询工具

程序名称:LQT

授权协议: Apache

操作系统: 跨平台

开发语言: Java

LQT 介绍

Lucene Query Tool (lqt) 是一个命令行工具用来执行 Lucene 查询并对结果进行格式化输出。

使用方法:

$ ./lqt
usage: LuceneQueryTool [options]
    --analyzer <arg>       for query, (KeywordAnalyzer | StandardAnalyzer)
                           (defaults to KeywordAnalyzer)
    --fields <arg>         fields to include in output (defaults to all)
 -i,--index <arg>          index (required)
    --output-limit <arg>   max number of docs to output
 -q,--query <arg>          (query | %all | %enumerate-fields |
                           %enumerate-terms field | %ids id [id ...] |
                           %id-file file) (required)
    --query-field <arg>    default field for query
    --query-limit <arg>    max number of query hits to process
    --regex <arg>          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 官网

https://github.com/joelb-git/lqt

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。