Array push

Hi,

Is there a way in ES to push values to an array field in a document in
one operation (i.e without reading the document to get the existing
values)?

In my test if you pass an array in a PUT it overrides the existing
values.

Many thanks,
Jon

Hi Jon

Is there a way in ES to push values to an array field in a document in
one operation (i.e without reading the document to get the existing
values)?

In my test if you pass an array in a PUT it overrides the existing
values.

No there isn't

clint

you need to get the document before + update. Have a look into the new
realtime GET operation:

On Jun 27, 12:26 pm, Jon Spalding jon.spald...@gmail.com wrote:

Hi,

Is there a way in ES to push values to an array field in a document in
one operation (i.e without reading the document to get the existing
values)?

In my test if you pass an array in a PUT it overrides the existing
values.

Many thanks,
Jon