Brice created SOLR-6546:
---------------------------
Summary: Encapsulation problem when importing CSV with
multi-valued fields
Key: SOLR-6546
URL: https://issues.apache.org/jira/browse/SOLR-6546
Project: Solr
Issue Type: Bug
Components: contrib - DataImportHandler
Affects Versions: 4.3.1
Environment: Debian 6, OpenJDK 64-Bit Server VM (1.6.0_31 23.25-b01)
Reporter: Brice
Priority: Minor
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"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]