Demo entry 6783767

1

   

Submitted by anonymous on Feb 21, 2019 at 12:12
Language: JSON-LD. Code size: 201 Bytes.

POST test/type1/1/_update
{
    "script" : {
        "source": "ctx._source.counter += params.count",
        "lang": "painless",
        "params" : {
            "count" : 4
        }
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).