Solr

From Wildsong
Revision as of 18:38, 13 May 2019 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

Apache Solr is a search platform built on Apache Lucene.

I have official Solr 8.0.0 running in a Docker container. I am learning how to put data into it now.

Docs

I've been watching this guy's videos. https://factorpad.com/tech/solr/tutorial/solr-tutorial.html

official Solr Docker repo

Solr Reference Guide; includes getting started instructions.

How are docker volumes used?

I am keeping solr's data in a volume that can be found at /home/docker/volumes/solr_data/_data on Bellman. It's mounted at /var/lib/solr in the container.

Where's the web server?

I have it running behind my firewall right now at https://solr.wildsong.biz/.

How do I get shell access?

To get a bash shell,

docker exec -it --user=solr solr bash

"Cores" are the setups containing data and configuration. This worked to create the "taxlots" core.

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