1.1 KiB
1.1 KiB
Solr Backend Conf for Materio drupal 8
solr search backend used by search_api and search_api_solr in drupal 8 instance of materio.com
Structure
One configset per core (Solr standalone, configSetBaseDir in solr.xml):
materio_base/conf/: corematerio_base(search_api servermaterio)materio_autocomplete/conf/: corematerio_autocomplete(search_api serverdatabase_search_autocomplete)
No index, no core.properties here: they live in each instance's SOLR_HOME.
Deployment (CT-materio)
| branch | clone (= configSetBaseDir) | Solr instance |
|---|---|---|
| prod | /var/www/d8.materio.com/solr | service solr, :8983, /var/solr |
| stage | /var/www/d8.stage.materio.com/solr | service solr-stage, :8984, /var/solr-stage |
git push materio.com <branch> → post-receive → deploy-solr.sh of the site:
git pull --ff-only in the clone, then RELOAD of both cores (no restart).
A failing RELOAD keeps the previous config live.