https://lucene.apache.org/solr/guide/6_6/updating-parts-of-documents.html#UpdatingPartsofDocuments-OptimisticConcurrency
If the content in the _version_ field is less than '0' (i.e., '-1'), then
the document must *not* exist. In this case, no version matching occurs,
but if the document exists, the updates will be rejected.

On Tue, Dec 12, 2017 at 4:23 PM, kumar gaurav <kg2...@gmail.com> wrote:

> Hi
>
> I need to update documents partially to solr only if it is already present
> there . But the problem is it creates a new document if document not
> available .
>
> Please help someone .
>
> Thanks
>
> regards
> Kumar Gaurav
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to