Skip to content

About

Tool to upload and download solr configs

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

Installation

This plugin is available on the plugin repository at Jcenter, and may be installed as described here:

https://plugins.gradle.org/plugin/com.needhamsoftware.solr-gradle

Configuration

The plugin comes pre-configured with defaults that look like this

solr {
  zkHost 'localhost:9983'
  confName 'myConfig'
  confDir 'src/main/solr/myConfig'
}

To change any of these, just add the above solr block with the properties you want to configure. The confDir may be located anywhere your build can find it. The above is just an example.

Usage

To upload the files in the confDir to zookeeper simply run

gradle upconfig

To download the present configuration from zookeeper (and overwite exiting files in confDir!)

gradle downconfig

About

Tool to upload and download solr configs

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages