Hi! Yonik, thanks for the reply. I just realized that the example I gave was not full - the error is returned by Solr only when the field is multivalued and the values in the fields are splited. For example, the following curl command give me the mentioned error:
curl 'http://localhost:8983/solr/update/csv?fieldnames=id,title&commit=true&en capsulator=%22&f.title.split=true&f.title.separator=%20' -H 'Content-type:text/plain' -d '"1","aaa ""bbb""ccc"' while the following is executed without any problem: curl 'http://localhost:8983/solr/update/csv?fieldnames=id,title&commit=true&en capsulator=%22&f.title.split=true&f.title.separator=%20' -H 'Content-type:text/plain' -d '"1","aaa ""bbb"" ccc"' The only difference between those two is the additional space character in between bbb"" and ccc in the second example. Am I doing something wrong ? ;) -- Regards, Rafał Kuć http://solr.pl > This works fine for me: > curl http://localhost:8983/solr/update/csv -H > 'Content-type:text/plain' -d 'id,name > "1","aaa ""bbb"" ccc"' > -Yonik > http://www.lucidimagination.com > On Mon, Jun 20, 2011 at 3:17 PM, Rafał Kuć <r....@solr.pl> wrote: >> Hello! >> >> I have a question about the CSV update handler. Lets say I have the >> following file sent to CSV update handler using curl: >> >> id,name >> "1","aaa ""bbb""ccc" >> >> It throws an error, saying that: >> Error 400 java.io.IOException: (line 0) invalid char between encapsulated >> token end delimiter >> >> If I change the contents of the file to: >> >> id,name >> "1","aaa ""bbb"" ccc" >> >> it works without a problem. This anyone encountered this ? Is it know >> behavior ? >> >> -- >> Regards, >> Rafał Kuć >> >> >>