- Download YASA (https://github.com/kezhenxu94/yasa)
- Start Solr through Docker, replacing old UI with YASA
- Index some content
- Test the UI
Copy/paste the below commands (Mac/Linux) to automate this
wget https://github.com/kezhenxu94/yasa/releases/download/v0.5/yasa-v0.5.tgz
tar -xzf yasa-v0.5.tgz
cd dist
docker run --name yasa --rm -d -ti -p 8983:8983 \
-v $(pwd)/index.html:/opt/solr/server/solr-webapp/webapp/index.html \
-v $(pwd)/static:/opt/solr/server/solr-webapp/webapp/static solr:8.3 -c
docker exec yasa solr create -c test1 -n techproducts -rf 2
docker exec yasa post -c test1 example/exampledocs
Now you can visit http://localhost:8983/solr/#/dashboard and browse around the new UI You can create and manage collections, browse ZK and config sets, create new configset, and it has some Kibana-like query/discovery/visualize panels. Under "Dev Tools" you have a request workbench where you can issue json-style queries, e.g.
GET /solr/test1/select
{
"q": "cat:electronics",
"rows": 2
}
When done testing, just run docker kill yasa
Thanks Jan 😄