As Alex suggested, _version_ is a special field which can be used in atomic updates with a special semantic :
"If the content in the _version_ field is equal to '1', then the document must simply exist. In this case, no version matching occurs, but if the document does not exist, the updates will be rejected." >From the wiki Adding that check to update json will not check that the _version_ is 1, but apply a special semantic ( as defined in the documentation). Anyway I second Alex in his observation, if by any chance you are using the _version_ field in a custom way, would be better to use a different field for your own logic. Cheers ----- --------------- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-tp4323767p4324568.html Sent from the Solr - User mailing list archive at Nabble.com.