In solr 4 is possible to make partial document updates. For example:
<add>
<doc>
<field name="id">1</field>
<field update="set" name="myfield">newvalue</field>
</doc>
</add>
updates myfield to "newvalue" in record 1 without affecting other fields. But how can I update myfield to NULL?
I tried with
<field update="set" name="myfield"></field>
but obviously it sets an empty string (not NULL) and for date fields raises an error.
Is there a way to do this without updating whole document?