lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derek Poh <>
Subject TolerantUpdateProcessorFactory maxErrors=-1 issue
Date Tue, 18 Sep 2018 07:13:30 GMT

I am using CSV formatted indexupdates to index on tab delimited file.

I have define "TolerantUpdateProcessorFactory" with "maxErrors=-1" in 
the solrconfig.xml to skip any document update error and proceed to 
update the remaining documents without failing.
Howeverit does not seemto be workingas there is an document in the tab 
delimited file withadditional number of fields and this caused the 
indexing to abort instead.

This is how I start the indexing,
curl -o /apps/search/logs/indexing.log 

--data-binary "@/apps/search/feed/$csvFilePath/$csvFileName" -H 

This is how the TolerantUpdateProcessorFactory is defined in the 
<updateRequestProcessorChain name="exhibitor-product-chain">
   <processor class="solr.CloneFieldUpdateProcessorFactory">
     <str name="source">P_SupplierId</str>
     <str name="source">P_TradeShowId</str>
     <str name="source">P_ProductId</str>
     <str name="dest">id</str>
   <processor class="solr.ConcatFieldUpdateProcessorFactory">
     <str name="fieldName">id</str>
     <str name="delimiter"></str>
   <processor class="solr.TolerantUpdateProcessorFactory">
      <int name="maxErrors">-1</int>
   <processor class="solr.processor.DocExpirationUpdateProcessorFactory">
     <null name="ttlFieldName"/>
     <null name="ttlParamName"/>
     <int name="autoDeletePeriodSeconds">43200</int>
     <str name="expirationFieldName">P_TradeShowOnlineEndDateUTC</str>
   <processor class="solr.LogUpdateProcessorFactory" />
   <processor class="solr.RunUpdateProcessorFactory" />

Solr version is 6.6.2.



This e-mail (including any attachments) may contain confidential and/or privileged information.
If you are not the intended recipient or have received this e-mail in error, please inform
the sender immediately and delete this e-mail (including any attachments) from your computer,
and you must not use, disclose to anyone else or copy this e-mail (including any attachments),
whether in whole or in part. 

This e-mail and any reply to it may be monitored for security, legal, regulatory compliance
and/or other appropriate reasons.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message