lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasenjit mukherjee <>
Subject Problem using custom-separator in UpdateCSV ( in solr )
Date Sun, 08 Jan 2012 09:57:23 GMT
I am trying to add document to a slor index via  :

$> curl "http://localhost:8983/solr/update/csv?commit=true&fieldnames=id,title_s&separator=%09"
--data "Doc1\tTitle1" -H 'Content-type:text/plain; charset=utf-8'

Solr doesn't seem to recognize the \t in the content, and is failing
with following error :

<p>Problem accessing /solr/update/csv. Reason:
<pre>    CSVLoader: input=null, line=0,expected 2 values but got 1
	values={'doc	docitle',}</pre></p><hr /><i><small>Powered by

What will be the curl command if I want to use a non-comma separator ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message