Skip to content
 
 

Repository files navigation

The Splainer!

This is a version of Splainer that allows running via Solr Admin UI as a Solr Plugin!.

image

Building and installation

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/splainer

See main Splainer project for more project information

Changes to make it work in Solr Admin UI

See diff from main project

  • Changes communication with Solr to use GET instead af JSONP, same way the Admin UI communicates with Solr
  1. Export the private key:

export SOLR_PACKAGE_SIGNING_PRIVATE_KEY_PATH=~/.solr-private-key.pem

  1. Build the package:

mvn package

  1. Now, host the solr-splainer-plugin/repo folder:

cd solr-splainer-plugin; python -m http.server

  1. 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

  2. Navigate to http://localhost:8983/v2/splainer on the browser.

Who?

Another Hack by Doug Turnbull

Created by OpenSource Connections.

Thanks to all the community contributors for finding bugs and sharing fixes!.

License

Released under Apache 2

About

Solr Splainer runnable by using Solr Packages

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages