/solr-tools

Command line tools for Solr

Primary LanguageShellApache License 2.0Apache-2.0

Solr tools

Author: Jan Høydahl @ Cominvent AS

Collection of simple tools for Solr.

Travis CI Build Status

upgradeindex.sh

Bash script to upgrade an entire Solr index from 4.x or 5.x or 6.x or 7.x to 8.x so it can be read by Solr 6.x, Solr 7.x or Solr 8.x. See README

SolrPasswordHash

Simple command line tool to generate a password hash for security.json

Build

mvn package

Usage:

java -jar target/solr-tools-1.0-SNAPSHOT.jar admin 123
Generating password hash for admin and salt 123:
HZtl83vopLyZfOpGedEQveAwvVdAQ1Ukr6dDJPEfs/w= MTIz
Example usage:
"credentials":{"myUser":"HZtl83vopLyZfOpGedEQveAwvVdAQ1Ukr6dDJPEfs/w= MTIz"}

License

All tools © Cominvent AS and licensed under the Apache License v2.0