Hi all,

I think I have found an issue (or misleading behavior, per say) about
atomic updates.

If I do atomic updates on a field, and if the operation is none-sense
(anything other than add, set, inc), it still returns success. Say I send:

/update/json?commit=true -d '[{"id":"...", "field1":{"add":"value"}}]'

it adds fine and return success. But if I continue:

/update/json?commit=true -d '[{"id":"...",
"field1":{"none-sense":"value"}}]'

It still returns status:0, which is a bit misleading.

Is this a known issue?

Thanks,
Sam

Reply via email to