> On Dec 2, 2007, at 5:43 PM, Ryan McKinley wrote:
>>
>>
>> try \& rather then %26
>
>
> or just put quotes around the whole url. I think curl does the right thing 
> here.

I tried all the methods: converting & to %26, converting & to \& and 
encapsulating the url with quotes.  All give the same error.

curl 
http://localhost:8080/solr/update/csv?header=true\&seperator=%7C\&encapsulator=%22\&commit=true\&stream.file=import/homes.csv
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 400 </title>
</head>
<body><h2>HTTP ERROR: 400</h2><pre>CSVLoader: must specify 
fieldnames=&lt;fields&gt;* or header=true</pre>
<p>RequestURI=/solr/update/csv</p><p><i><small><a 
href="http://jetty.mortbay.org/";>Powered by Jetty://</a></small></i></p><br/>

Any other ideas?  How do other do this?

Thanks
Andrew

Reply via email to