lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Palotai <>
Subject missing content stream on csv upload
Date Mon, 23 May 2011 10:09:57 GMT

When uploading csv using
curl http://localhost:8983/solr/update/csv --data-binary @books.csv -H
'Content-type:text/plain; charset=utf-8'

as mentioned at the Wiki, you can get a "missing content stream" error
on the jetty console. The problem is that on Windows, the -H parameter
should be put inside quotes instead of apostrophes, or curl sends an
incorrect header (I guess it includes the apostrophe too).

Hope it helps, and also can get corrected on the wiki.


View raw message