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

Error handling in CSVLoader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1, 4.0-ALPHA
    • update
    • None

    Description

      Sometimes the underlying CSV parser can't read a line and throws an exception. Solr currently just passes the exception out to the client. Wrapping this in a SolrException allows us to pass out information about what line failed (which isn't always in the CSV IOException thrown).

      Attachments

        1. SOLR-482.patch
          3 kB
          Grant Ingersoll
        2. SOLR-482.patch
          2 kB
          Grant Ingersoll

        Activity

          People

            gsingers Grant Ingersoll
            gsingers Grant Ingersoll
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: