@nteract/commuter-server

0.1.12 • Public • Published

ES Operations

Create a New Index

curl -XPOST http://<ES_HOST>/commuter -d @src/resources/commuter.es.mapping.json

Update Alias

curl -XPOST http://<ES_HOST>/_aliases -d '
{
    "actions": [
        { "remove": {
            "alias": "commuter",
            "index": "<OLD_INDEX>"
        }},
        { "add": {
            "alias": "commuter",
            "index": "<NEW_INDEX>"
        }}
    ]
}'

Delete Index

curl -XDELETE http://<ES_HOST>/commuter

/@nteract/commuter-server/

    Package Sidebar

    Install

    npm i @nteract/commuter-server

    Weekly Downloads

    1

    Version

    0.1.12

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • hydrosquall
    • benabel
    • alexandercbooth
    • benrussert
    • mpacer
    • theengineear
    • yuvipanda
    • rgbkrk
    • lgeiger
    • ivanov
    • captainsafia
    • peggyrayzis
    • jdetle
    • hasch
    • willingc
    • stormpython
    • crystalline-cat
    • emeeks