A Solr Admin Theme with vue.js

A Solr Admin Theme with vue.js

Yet Another Solr Admin.

YASA - Yet Another Solr Admin

Codacy Badge Build Status Release Version Solr Version Vuejs Version License: MIT

Features

Dashboard Discover Visualize
dashboard discover visualize
Dev Tools Zookeeper Tree Management Collection Management
dev-tools management-tree management-collections

Installation

Standalone Mode

You can install YASA in standalone mode without affecting the official Solr Admin. Here is how:

  • Download the latest release of YASA
  • Extract files from yasa-vX.Y.tgz (where X.Y is the version number) to a directory, sayn YASA_HOME
  • Configure your Nginx server and proxy /solr/** to your actual Solr Admin address, e.g. http://127.0.0.1:8983/solr.

Here is a Nginx configuration sample

worker_processes auto;

events {
	worker_connections 1024;
}

http {
	sendfile            on;
	tcp_nopush          on;
	tcp_nodelay         on;
	keepalive_timeout   65;
	types_hash_max_size 2048;

	include             /usr/local/nginx/conf/mime.types;
	default_type        application/octet-stream;

	upstream solr {
		server 127.0.0.1:8983; # replace 127.0.0.1:8983 with your Solr host and port
	}

	server {
		server_name 127.0.0.1;
		listen 7389;
		root <YASA_HOME>; # replace <YASA_HOME> with your actual directory path

		location /solr/ {
			location /solr/static/ {
				rewrite /solr/static/(.*) /static/$1;
			}
			location /solr/ {
				proxy_pass http://solr/solr/;
			}
		}
	}
}

Integration Mode

You can also replace the official admin interface with YASA:

  • Download the latest release of YASA
  • Extract files from yasa-vX.Y.tgz (where X.Y is the version number) to a directory, say YASA_HOME
  • (Optional but recommended) Backup the Solr webapp folder (solr-x-y-z/server/solr-webapp/webapp, where x-y-z is the version number)
  • Copy everything under ${YASA_HOME}/dist/ folder to solr-x-y-z/server/solr-webapp/webapp

Developement Mode

If you are interesting in YASA and want to contribute, you can run YASA in dev mode:

# pull source code
git clone https://github.com/kezhenxu94/yasa

# install dependencies
npm i

# serve with hot reload at localhost:8080
npm run dev

Todo

  • More visualization charts
  • Documentations

Contribution

Find this project useful? Any contributions are highly appreciated. You can open issues or pull requests to help make this project better.

Acknowledgements

  • Thanks to the great work of Solr community.

  • This project is greatly inspired by Kibana.

Github Repository