Solr: Difference between revisions
From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs) mNo edit summary |
Brian Wilson (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
Solr is a search platform built on Lucene | [http://lucene.apache.org/solr/ Apache Solr] is a search platform built on Apache Lucene. | ||
I have | 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 | |||
[https://hub.docker.com/_/solr/ official Solr Docker repo] | |||
[https:// | [https://www.apache.org/dyn/closer.cgi/lucene/solr/ref-guide/ 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? == | == 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? == | == How do I get shell access? == | ||
To get a bash shell, | |||
docker exec -it --user=solr solr bash | |||
This worked to create the " | "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 | docker exec -it --user=solr solr bin/solr create_core -c taxlots |
Revision as of 18:38, 13 May 2019
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
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