zoukankan      html  css  js  c++  java
  • Lucene 查询工具 LQT

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

    使用方法:

    01 $ ./lqt
    02 usage: LuceneQueryTool [options]
    03     --analyzer <arg>       for query, (KeywordAnalyzer | StandardAnalyzer)
    04                            (defaults to KeywordAnalyzer)
    05     --fields <arg>         fields to include in output (defaults to all)
    06  -i,--index <arg>          index (required)
    07     --output-limit <arg>   max number of docs to output
    08  -q,--query <arg>          (query | %all | %enumerate-fields |
    09                            %enumerate-terms field | %ids id [id ...] |
    10                            %id-file file) (required)
    11     --query-field <arg>    default field for query
    12     --query-limit <arg>    max number of query hits to process
    13     --regex <arg>          filter query by regex, syntax is field:/regex/
    14     --show-hits            show total hit count
    15     --show-id              show Lucene document id in results
    16     --show-score           show score in results
    17     --sort-fields          sort fields within document
    18     --suppress-names       suppress printing of field names
    19     --tabular              print tabular output (requires --fields with no
    20                            multivalued fields)
  • 相关阅读:
    Android 中Service生命周期
    Android开发中退出程序几种方法
    FLAG_ACTIVITY_CLEAR_TOP和FLAG_ACTIVITY_REORDER_TO_FRONT用法
    【Java并发编程实战】-----synchronized
    The specified child already has a parent错误
    使用Ant打包工具 基本介绍
    what's WSDL
    XFire WebService demo
    jws webservice code
    axis、xfire、CXF 、JWS
  • 原文地址:https://www.cnblogs.com/shihao/p/3354761.html
Copyright © 2011-2022 走看看