es-search

0.6.3 • Public • Published

es-search

simple tool for es query cli

  Usage: search [options]

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -d --database <i>          http://es.api.com/xx/yy/_search
    -q --query <json of mqes>  eg. {"a":1}
    -f --from [index]          from index number; disable when --scroll
    -s --size [number]         size number; the number of results per shard when --scroll
    --source [f1,f2...]        params _source
    --sort [field:desc/asc]    sort by field; disable when --scroll
    --scroll                   use scroll & echo with console.error, 使用2>>xx.log将输入重定向
    --delete [yes/Y]           delete query result

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i es-search

    Weekly Downloads

    1

    Version

    0.6.3

    License

    MIT

    Unpacked Size

    8.21 kB

    Total Files

    6

    Last publish

    Collaborators

    • lusionx