File manager - Edit - /var/www/payraty/helpdesk/vendor/elasticsearch/elasticsearch/docs/examples/0a958e486ede3f519d48431ab689eded.asciidoc
Back
// docs/update.asciidoc:271 [source, php] ---- $params = [ 'index' => 'test', 'id' => '1', 'body' => [ 'script' => [ 'source' => 'ctx._source.counter += params.count', 'lang' => 'painless', 'params' => [ 'count' => 4, ], ], 'upsert' => [ 'counter' => 1, ], ], ]; $response = $client->update($params); ----
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings