TLDR Ross asked how to unset a field during an update. Jason confirmed it can be done by sending the field as `null`.
To clear/unset an optional document field while doing an emplace/update (i.e. partial document), should the field be sent as `null` ?
Yes, but this only works in recent RC builds of 0.24.0. In 0.23.1 we unfortunately have this bug:
Indexed 3051 threads
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Ross
Thu, 15 Dec 2022 02:23:20 UTCTo clear/unset an optional document field while doing an emplace/update (i.e. partial document), should the field be sent as `null` ?