Monday, November 4, 2019

Install Solr 8.2 based on Java 11



sudo apt install -y default-jdk


wget http://www-eu.apache.org/dist/lucene/solr/8.2.0/solr-8.2.0.tgz

tar xzf solr-8.2.0.tgz solr-8.2.0/bin/install_solr_service.sh --strip-components=2

sudo bash ./install_solr_service.sh solr-8.2.0.tgz

Now the Solr RUN on your Server, and you can check it using 

http://127.0.0.1:8983/solr/#/



Start, Stop and check the status of Solr service

sudo systemctl stop solr
sudo systemctl start solr
sudo systemctl status solr

To create new Search Core

sudo su - solr -c "/opt/solr/bin/solr create -c mycol1 -n data_driven_schema_configs"

No comments: