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.

Reply via email to