- detailed solr index creating
parent
d752b43c18
commit
76b5ca1bd5
|
@ -68,11 +68,20 @@ if
|
|||
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
|
||||
sudo cp /home/user/managed-schema /var/solr/data/tethys_data/conf/
|
||||
sudo cp /home/user/solrconfig.xml /var/solr/data/tethys_data/conf/
|
||||
wget https://raw.githubusercontent.com/geolba/tethys-search/master/schema.xml
|
||||
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**\
|
||||
|
@ -84,6 +93,9 @@ sudo cp /home/user/solrconfig.xml /var/solr/data/tethys_data/conf/
|
|||
Output Will be:\
|
||||
Created new core 'tethys_data'
|
||||
|
||||
delete your solr index:\
|
||||
`sudo su - solr -c "/opt/solr/bin/solr delete -c tethys_data"`
|
||||
|
||||
## Manage Solr service
|
||||
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue
Block a user