Answering my own question, this IS possible but you need to send to the
update streaming expression, a tuple list like the following in order to do
atomic/in-place updates:

{ "result-set": { "docs": [ { "cand_id": { "add-distinct": 5718 }, "id":
"2644126" }, { "cand_id": { "add-distinct": 7408 }, "id": "2658316" },
...

Cheers,
Dan

On Wed, 29 Jun 2022 at 15:27, Dan Rosher <rosh...@gmail.com> wrote:

> Hi,
>
> Is it possible to do partial/atomic or in-place updates with  Update
> Streaming expression Decorator? The following simply overwrites.
>
>  update(collection1,
>         select(
>         search(collection1,
>                q=*:*,
>                qt="/export",
>                fl="id,a_s,a_i,a_f,s_multi,i_multi",
>                sort="a_f asc, a_i asc"))
>         ,id,a_s)
>
> Thanks,
> Dan
>

Reply via email to