On Mon, Dec 16, 2019 at 2:51 AM Paras Lehana
wrote:
> Hey Rhys,
>
>
> Short Answer: Try using "set": null and not "set": "null".
>
>
Thank you, this worked!
Rhys
Hey Rhys,
Short Answer: Try using "set": null and not "set": "null".
Explanation: Although I empty fields via XML, I can see a similar problem
in your query that is actually telling the value to be a string "null" and
not the type null. See:
{ "id": "601000", "agent": {"set": "null"} ...
This
When I do the following update:
curl http://localhost:8983/solr/dbtr/update?commit=true -d '[{ "id":
"601000", "agen
t": {"set": "null"},"assign_id": {"set": "320"},"client_group": {"set":
"null"},"credit_class": {"se
t": "null"},"credit_hold": {"set": "null"},"credit_hold_date": {"set":
"null"},"