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 handler.

My data file looks like this:

"id" "question" "answer" "url"
"q99" "Who?" "You!" "none"

When I send this data to Solr using Curl:

curl 
'http://localhost:8181/solr/development/update/csv?commit=true&separator=%09' 
--data @sample.tmp

All seems to be well:

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">0</int><int 
name="QTime">221</int></lst>
</response>


But when I query the development core, there is no data. I must be overlooking 
something trivial. I would appreciate if anyone could spot what!

  - Rob



 

Reply via email to