This has been a long-standing issue with updates, several attempts have been started to change the behavior, but they haven't gotten off the ground.
Your options are to send one record at a time, or have error-handling logic that, say, transmits the docs one at a time whenever a packet fails. Best Erick On Thu, Mar 21, 2013 at 9:21 PM, randolf.julian < randolf.jul...@dominionenterprises.com> wrote: > I have an XML file that has several documents in it. For example: > > <add> > <doc> > <field name="id">1</field> > <field name="name" update="set">MyName1</field> > </doc> > <doc> > <field name="id">2</field> > <field name="name" update="set">MyName2</field> > </doc> > <doc> > <field name="id">3</field> > <field name="name" update="set">MyName3</field> > </doc> > </add> > > I upload the data using SOLR's post.sh script. For some reason, document 2 > failed and it cause the post.sh script to stop. How can I make it continue > to the next document (3) even if it fails on 2? > > Thanks > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Continue-to-the-next-record-tp4049920.html > Sent from the Solr - User mailing list archive at Nabble.com. >