- #! /bin/bash
- docker exec -i materiod8-php-1 drush cdel search_api_solr.solr_field_type.text_edgestring_ascii_und_6_0_0
- docker exec -i materiod8-php-1 drush cdel search_api_solr.solr_field_type.text_string_ascii_und_6_0_0
- docker exec -i materiod8-php-1 drush dre materio_sapi
- docker exec -i materiod8-php-1 drush solr-gsc database_search_autocomplete config.zip
- mkdir ressources/solr/
- mv public_html/web/config.zip ressources/solr/
- unzip -o ressources/solr/config.zip -d var_solr/data/materio/conf
- unzip -o ressources/solr/config.zip -d var_solr/data/materio_autocomplete/conf
- docker-compose restart solr-new
|