Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-842

Better error handling for DIH

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None

    Description

      Currently DIH fails completely on any error. We must have better control on error behavior

      mail thread: http://markmail.org/message/xvfbfaskfmlj2pnm

      an entity can have an attribute onError the values can be abort, continue,skip

      abort is the default . It aborts the import. continue or skip does not fail the import it continues from there. skip skips all rows in an xml (only if stream != true)if there is an error in xml but continues with the next xml.

      Attachments

        1. SOLR-842.patch
          26 kB
          Shalin Shekhar Mangar
        2. SOLR-842.patch
          16 kB
          Shalin Shekhar Mangar
        3. SOLR-842.patch
          15 kB
          Noble Paul
        4. SOLR-842.patch
          4 kB
          Noble Paul

        Activity

          People

            shalin Shalin Shekhar Mangar
            noble.paul Noble Paul
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: