Create and destroy solr cores programmatically.
Assumes Solr 5.x with zookeeper running on the default ports.
See solr-makr --help to customize port information.
$ gem install solr_makr
To set up:
# only need to run once, to set up local configuration directory
solr-makr setupTo create a core:
solr-makr create --name fooTo generate a valid yaml configuration for use with sunspot:
solr-makr yaml --name foo -o sunspot.yml- Fork it ( https://github.com/scryptmouse/solr_makr/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request