Skip to content

Instantly share code, notes, and snippets.

@danielef
Created February 25, 2016 01:40
Show Gist options
  • Save danielef/bc1c531016d6dc4f9e74 to your computer and use it in GitHub Desktop.
Save danielef/bc1c531016d6dc4f9e74 to your computer and use it in GitHub Desktop.
Solr replace-field using wget
wget --header="Content-type:application/json" --post-data="{'replace-field':{ 'name':'fieldname', 'type':'int', 'stored': true, 'indexed':true, 'multiValued':false}}" http://localhost:8983/solr/corename/schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment