You can install YASA as a Solr package:
bin/solr package add-repo yasa "https://raw.githubusercontent.com/yasa-org/yasa/master/repo/"
bin/solr package install yasa
bin/solr package deploy yasa -y -cluster
Then navigate your browser to http://localhost:8983/v2/yasa
To register YASA at another path, you can use:
bin/solr package deploy yasa -y -cluster -p YASA-PATH-PREFIX=mysolrui
Then navigate your browser to http://localhost:8983/v2/mysolrui
To check installed version and available versions of the package,
bin/solr package list-installed
bin/solr package list-available
To update to a newer version,
bin/solr package install yasa:<new-version>
bin/solr package deploy yasa:<new-version> -y -cluster -update
To undeploy,
bin/solr package undeploy yasa -cluster
You can install YASA in the standalone mode without affecting the official Solr Admin. Here is how:
-
Download the latest release of yasa.
-
Extract files from
yasa-vX.Y.tgz
(whereX.Y
is the version number) to a directory, sayYASA_HOME
. -
Configure your Nginx server and proxy
/solr/**
to your actual Solr Admin address, for example,http://127.0.0.1:8983/solr
.
Here is an Nginx configuration sample.
You can also replace the official admin interface with YASA:
-
Download the latest release of YASA
-
Extract files from
yasa-vX.Y.tgz
(whereX.Y
is the version number) to a directory, sayYASA_HOME
-
(Optional but recommended) Backup the Solr webapp folder (
solr-x-y-z/server/solr-webapp/webapp
, wherex-y-z
is the version number) -
Copy everything under
${YASA_HOME}/dist/
folder tosolr-x-y-z/server/solr-webapp/webapp
Find this project useful? Any contribution is highly appreciated. You can open issues or pull requests to help make this project better.
-
Thanks to the great work of Solr community.
-
This project is greatly inspired by Kibana.