Re: unable to update using empty strings or 'null' in value

2019-12-16 Thread rhys J
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

Re: unable to update using empty strings or 'null' in value

2019-12-15 Thread Paras Lehana
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

unable to update using empty strings or 'null' in value

2019-12-13 Thread rhys J
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"},"