This is a version of Splainer that allows running via Solr Admin UI as a Solr Plugin!.
With npm installed
npm install -g grunt-cli
npm install .
grunt dist
$ (cd dist && zip -r - *) > splainer.zip
unzip splainer.zip -d ~/path/to/solr/server/solr-webapp/webapp/splainerSee main Splainer project for more project information
- Changes communication with Solr to use GET instead af JSONP, same way the Admin UI communicates with Solr
- Export the private key:
export SOLR_PACKAGE_SIGNING_PRIVATE_KEY_PATH=~/.solr-private-key.pem
- Build the package:
mvn package
- Now, host the solr-splainer-plugin/repo folder:
cd solr-splainer-plugin; python -m http.server
-
In a Run Solr and install the package:
tar -xf solr-9.3.0.tgz; cd solr-9.3.0/ bin/solr start -c -Denable.packages=true; bin/solr package add-repo splainer-repo "http://localhost:8000/repo/"; bin/solr package list-available; bin/solr package install solr-splainer; bin/solr package deploy solr-splainer -y -cluster
-
Navigate to http://localhost:8983/v2/splainer on the browser.
Another Hack by Doug Turnbull
Created by OpenSource Connections.
Thanks to all the community contributors for finding bugs and sharing fixes!.
Released under Apache 2