You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Vincenzo D'Amore <v....@gmail.com> on 2022/10/21 16:22:01 UTC

Solr Deduplication config error with partial update

Hi all,

Is the partial update supported with the SignatureUpdateProcessorFactory?

I'm setting up a dedup configuration with the
SignatureUpdateProcessorFactory

       <processor class="solr.processor.SignatureUpdateProcessorFactory">
         <bool name="enabled">true</bool>
         <str name="signatureField">product_hash</str>
         <bool name="overwriteDupes">false</bool>
         <str
name="fields">price,htlDisp,flightDisp,notAvail,onRequest</str>
         <str name="signatureClass">solr.processor.Lookup3Signature</str>
       </processor>

but when I try to update a document an error "Can't use
SignatureUpdateProcessor with partial update request containing signature
field" is raised.

 {
   "id" : "XXXXXXXXYYYYYYYY",
  "price"   : {"set":111.3},
  "htlDisp"   : {"set":4},
  "flightDisp"   : {"set":2},
  "notAvail"   : {"set":"S"},
  "onRequest"   : {"set":"S"}
}

Best regards,
Vincenzo

-- 
Vincenzo D'Amore