Is it possible to execute the following request asynchronously on the server side?
POST test/_update/1
{
"script" : "ctx._source.new_field = 'value_of_new_field'"
}
By "server side", I mean server should write the request to the translog and respond immediately before applying any changes(get doc, execute script, index doc) .
If you want high throughput you should look at this part of the docs. The most important tip for optimising throughput is to use bulk requests as lots of single index or update requests limits performance.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.