- detailed solr index creating

Arno Kaimbacher 2020-07-22 23:46:24 +02:00
parent d752b43c18
commit 76b5ca1bd5

@ -68,11 +68,20 @@ if
pixima => pixma pixima => pixma
``` ```
**Copy your model schema and solr configuration into conf folder:** **Copy your model schema.xml and solrconfig into conf folder:**
download the cofig files:
```bash ```bash
sudo cp /home/user/managed-schema /var/solr/data/tethys_data/conf/ wget https://raw.githubusercontent.com/geolba/tethys-search/master/schema.xml
sudo cp /home/user/solrconfig.xml /var/solr/data/tethys_data/conf/ wget https://raw.githubusercontent.com/geolba/tethys-search/master/solrconfig.xml
```
move them into the conf directory:
```bash
sudo mv /home/user/schema.xml /var/solr/data/tethys_data/conf/
sudo mv /home/user/solrconfig.xml /var/solr/data/tethys_data/conf/
``` ```
**Grant folder permissions for solr user**\ **Grant folder permissions for solr user**\
@ -84,6 +93,9 @@ sudo cp /home/user/solrconfig.xml /var/solr/data/tethys_data/conf/
Output Will be:\ Output Will be:\
Created new core 'tethys_data' Created new core 'tethys_data'
delete your solr index:\
`sudo su - solr -c "/opt/solr/bin/solr delete -c tethys_data"`
## Manage Solr service ## Manage Solr service
```bash ```bash