Hi there,
as per update api at
http://www.elasticsearch.org/guide/reference/api/update.html, its working
fine, but is it possible to update multiple fields in a single update
request, so that we can reduce the network round trips and more over the
document will be indexed once only...
Thanks
Hi,
you can use the update api to update multiple fields in a single
update request. You can (in mvel, which is the default scripting used)
separate each instruction by ";" within a single script.
On Fri, May 25, 2012 at 10:32 AM, Narinder Kaur narinder.kaur@izap.in wrote:
Hi there,
as per update api
at Elasticsearch Platform — Find real-time answers at scale | Elastic, its working
fine, but is it possible to update multiple fields in a single update
request, so that we can reduce the network round trips and more over the
document will be indexed once only...
Thanks
--
Benjamin DEVEZE
thanks for the help
On Friday, 25 May 2012 17:38:45 UTC+5:30, Benjamin Devèze wrote:
Hi,
you can use the update api to update multiple fields in a single
update request. You can (in mvel, which is the default scripting used)
separate each instruction by ";" within a single script.
On Fri, May 25, 2012 at 10:32 AM, Narinder Kaur wrote:
Hi there,
as per update api
at Elasticsearch Platform — Find real-time answers at scale | Elastic, its
working
fine, but is it possible to update multiple fields in a single update
request, so that we can reduce the network round trips and more over the
document will be indexed once only...
Thanks
--
Benjamin DEVEZE