if you want to remove all the data in the then use "null" in set
curl . . . -d '[{"id":"docId","someField":{"set",null}}]'
-Karthik
On Wed, Dec 7, 2016 at 1:31 PM, Richard Bergmann
wrote:
> Hello,
>
> I am new to this and have found no examples or guidance on how to use
> "removeregex" to remo
Hello,
I am new to this and have found no examples or guidance on how to use
"removeregex" to remove (in my case) all entries in a multi-valued field.
The following curl commands work just fine:
curl . . . -d '[{"id":"docId","someField":{"add",["val1","val2"]}}]'
and
curl . . . -d '[{"id":"do