solrserv

Serve up a solr

Usage no npm install needed!

<script type="module">
  import solrserv from 'https://cdn.skypack.dev/solrserv';
</script>

README

solrserv

Serve up a solr

npm install -D solrserv

usage

Usage: solrserv [options] <coredir> [workdir]

start a solr server from the specified core group or core

Arguments:
  coredir                  path to core or core group directory (required)
  workdir                  path to working directory (default: "./server")

Options:
  -p, --port <port>        specify the solr http port (default: "8080")
  -u, --url <url>          url of solrserv distribution server
  -v, --version <version>  version of solr to use if no solr.version file is found
  -l, --loglevel <level>   set the logging level of the solr server (default: WARN)
  -h, --help               display help for command

.solrserv.rc

If a .solrserv.rc file is found in the current directory when the command is run, the options in this file will be used as defaults when command line options are not provided. The file is formated the same way as .env files. Example:

url=https://your-distro-hostname.whatever/dist-files
version=1.2.3
port=1234
workdir=./solrserv
loglevel=trace