Hi Rob,
I think the wrong Content-type header is getting passed. Try one of these
instead:
curl '
http://localhost:8983/solr/update/csv?commit=true&separator=%09&stream.file=/tmp/sample.tmp
'
OR
curl 'http://localhost:8983/solr/update/csv?commit=true&separator=%09' -H
'Content-type:application/
You need the CSV content type header and --data-binary.
I tried this with Solr 4.4:
curl 'http://localhost:8983/solr/update?commit=true&separator=%09' -H
'Content-type:application/csv' --data-binary @sample.tmp
Otherwise, Solr just ignores the request.
-- Jack Krupansky
-Original Messag
Your data file appears to use spaces rather than tabs.
-- Jack Krupansky
From: Rob Koeling Ai
Sent: Friday, August 23, 2013 6:38 AM
To: solr-user@lucene.apache.org
Subject: Problem with importing tab-delimited csv file
I'm having trouble importing a tab-delimited file with the csv update hand