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

Encapsulation problem when importing CSV with multi-valued fields

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

            • Assignee:
              Unassigned
              Reporter:
              popeye1 Brice

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment