SolrMakr
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.
Installation
$ gem install solr_makr
Usage
To set up:
# only need to run once, to set up local configuration directory
solr-makr setup
To create a core:
solr-makr create --name foo
To generate a valid yaml configuration for use with sunspot:
solr-makr yaml --name foo -o sunspot.yml
Contributing
- 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