On 10/21/2019 11:24 AM, rhys J wrote:
I am using this command:
curl '
http://localhost:8983/solr/users/update/csv?commit=true&separator=%09&encapsulator=%20&escape=\&stream.file=/tmp/users.csv
'
The sequence %20 is a URL encoding of a space. If you intend the
encapsulator character to be a double quote, you should be using %22
instead.
The sequence %09 is a tab character, sometimes known as Ctrl-I. Your
CSV looks like it's using a comma, which is %2C instead.
The defaults for the CSV import should be a double quote for
encapsulation and a comma for a separator, with \ as the escape
character ... so perhaps you should just leave those parameters off of
the URL.
Thanks,
Shawn