Problem using custom-separator in UpdateCSV ( in solr )

2012-01-08 Thread prasenjit mukherjee
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 followin

Re: Problem using custom-separator in UpdateCSV ( in solr )

2012-01-08 Thread Erik Hatcher
\t doesn't work in my shell as a tab replacement character. And Solr doesn't expand this sort of thing for you. $ echo "foo\tbar" foo\tbar Try a real tab character instead. Though more realistically you'll be using a file instead, so you won't have to be concerned with a shell for this.