Solr

From Wildsong
Jump to navigationJump to search

I have official Solr running in a Docker container. When I try to create a core it just spits error messages at me.

Docs

official Solr Docker repo

Solr Home Page

Solr Reference Guide, a PDF document; includes getting started instructions.

How do I get shell access?

You go to Kitematic and click on "Exec" and it will open a Terminal window with a shell prompt. At least it does with Solr.

You can also go to the console in VirtualBox, but this gets you into the machine where Docker is running, not into the solr container. But you can run docker commands there.

This worked to create the "gettingstarted" core.

docker exec -it --user=solr solr bin/solr create_core -c gettingstarted