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
Jetty://</small></i><br/>

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

-Thanks,
Prasenjit

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to