RE: Updating the index with a csv file

2008-09-29 Thread Steven A Rowe
If you're using a Windows command window, there may be trouble with single quotes. Try instead using double quotes: curl "http://localhost:8983/solr/update/csv"; --data-binary @blog.csv -H "Content-type:text/plain; charset=utf-8" On 09/29/2008 at 12:22 PM, vmaidel wrote: > > Thank you, guys,

Re: Updating the index with a csv file

2008-09-29 Thread vmaidel
Thank you, guys, but for some reason now I get different errors than before when trying to run the example line: curl: (1) Protocol 'http not supported or disabled in libcurl curl: (6) Could not resolve host: text; Host not found curl: (6) Could not resolve host: charset=utf-8'; Host not found D

Re: Updating the index with a csv file

2008-09-28 Thread Koji Sekiguchi
> curl 'http://localhost:8983/solr/update/csv?commit=true' --data-binary @books.csv -H 'Content-type:text/plain; charset=utf-8' > > ...perhaps there is some eccentricity about windows curl? I tried this on cygwin and books.csv could be uploaded without problems. Koji

Re: Updating the index with a csv file

2008-09-27 Thread Chris Hostetter
: "The request sent by the client was syntactically incorrect (missing content : stream)" that usually means either the content type wasn't set, or there was no post data : curl http://localhost:8983/solr/update/csv --data-binary @blog.csv -H : 'Content-type:text/plain; charset=utf-8' : :