https://github.com/thinkhr-code/solr_makr
https://github.com/thinkhr-code/solr_makr
devops mammothhr
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thinkhr-code/solr_makr
- Owner: thinkhr-code
- License: mit
- Created: 2015-03-21T01:02:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-07-23T20:51:35.000Z (over 7 years ago)
- Last Synced: 2025-01-28T14:23:31.961Z (about 1 year ago)
- Topics: devops, mammothhr
- Language: Ruby
- Size: 78.1 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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:
```sh
# only need to run once, to set up local configuration directory
solr-makr setup
```
To create a core:
```sh
solr-makr create --name foo
```
To generate a valid yaml configuration for use with sunspot:
```sh
solr-makr yaml --name foo -o sunspot.yml
```
## Contributing
1. Fork it ( https://github.com/scryptmouse/solr_makr/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request