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ć
>
>
>

Reply via email to