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

Encapsulation problem when importing CSV with multi-valued fields

    XMLWordPrintableJSON

Details

    Description

      Importing a CSV file with multi-valued field content like :
      "one phrase"|"another phrase"
      fail with error message :
      <?xml version="1.0" encoding="UTF-8"?>
      <response>
      <lst name="responseHeader"><int name="status">400</int><int name="QTime">0</int></lst><lst name="error"><str name="msg">CSVLoader: input=null, line=0,can't read line: 0
      values=

      {NO LINES AVAILABLE}

      </str><int name="code">400</int></lst>
      </response>

      Solr log :
      Caused by: java.io.IOException: (line 0) invalid char between encapsulated token end delimiter

      It works with :
      "one phrase|another phrase"

      Attachments

        Activity

          People

            Unassigned Unassigned
            popeye1 Brice
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: