On 04.01.2008 16:55 Yonik Seeley wrote: > On Jan 4, 2008 10:25 AM, Michael Lackhoff <[EMAIL PROTECTED]> wrote: >> If the fields value is: >> 's-Gravenhage >> I cannot get it into SOLR with CSV. > > This one works for me fine. > > $ cat t2.csv > id,name > 12345,"'s-Gravenhage" > 12345,'s-Gravenhage > 12345,"""s-Gravenhage" > > $ curl http://localhost:8983/solr/update/csv?commit=true --data-binary > @t2.csv -H 'Content-type:text/csv; charset=utf-8'
But you are cheating ;-) This works for me too but I am using a local csv file for the update: http://localhost:8983/solr/update/csv?stream.file=t2.csv&separator=%09&f.SIGNATURE.split=true&commit=true Perhaps the problem is that I cannot define a charset for the stream.file? -Michael