Hi,

I am using Solr 8.5.2

I made a simple in-place update request to Solr. This request has two
fields, one is the unique field and the other one is a field that returns
true for AtomicUpdateDocumentMerger.isSupportedFieldForInPlaceUpdate.

When I intercept this request during the debugging process in processAdd
for one my custom update processor plugin, when I evaluate
expression cmd.isInPlaceUpdate(), it returns false. When I let the request
continue end to end, I can see an in-place update happens successfully.
Debug log prints o.a.s.u.DirectUpdateHandler2 updateDocValues
instead o.a.s.u.DirectUpdateHandler2 updateDocument. Also, I see
tremendous performance gain. So, it is definitely an in-place update. Then
why does the cmd.isInPlaceUpdate() function return false instead of true?
Am I missing something?

Reply via email to