Hi everyone, I'm doing some solr update coding and the solr version I'm using is 8.5.1
So far I can successfully do a partial update by sending { "id":"1", "month":{"set":1} } to the /update handler. This way I can update the month filed to be 1 for record with id 1. *But the thing is, if there's no existing record with id 1, a new record will be created with provided id and month info.* One workaround is, before issuing an update, I do a solr query for id:1, only when the result is not empty then I do the update. Just want to know, if there's a better way to do this? Thanks