Skip to content

Instantly share code, notes, and snippets.

@seleregb
Forked from nz/post csv to solr with curl.sh
Created February 14, 2018 12:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seleregb/ef2c5fee86518245e1457d9e9566829e to your computer and use it in GitHub Desktop.
Save seleregb/ef2c5fee86518245e1457d9e9566829e to your computer and use it in GitHub Desktop.
An example of how to POST CSV data to Solr with curl
curl http://index.websolr.com/solr/yourindex/update/csv --data-binary @mydata.csv -H 'Content-type:text/plain; charset=utf-8'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment