solr6's schema.xml always rollback to the original
letusfly85 opened this issue · comments
Hi, if you know the reason and solution, please let me know
Version Info
- 5.4.0-M3 | 7.4.0-M3
- community edition
Issue
- When I modified the
schema.xml
inside thesolr6
container, and restartsolr6
service, theschema.xml
rollbacks to the original file.. - How can I fix the issue, for example, I want to use some custom analyzer or user dictionaries???
Reproduce Steps
First, docker-compose exec to the solr6.
cd /path/to/acs-deployment/docker-compose
docker-compose -f community-docker-compose.yml exec solr6 bash
Secondary, edit the schema.xml
vim solrhome/alfresco/conf/schema.xml
Finally, restart the solr6
docker-compose -f community-docker-compose.yml restart solr6
the container wasn't reproduced, but the schema.xml
was recovered to the original one...
Thank you..
I have tested your reproduction steps and could not reproduce your issue. I have added a fieldType
in the Solr schema for the alfresco
core and it's still present after doing a docker-compose -f community-docker-compose.yml restart solr6
Can you please review your steps? Are you using a custom image?... Something must be missing
Thank you!
I checked, however it also rollbacks..
I will try using volume option to fix this configuration file.
I'll let you know the result later...