Alfresco / acs-deployment

Alfresco Content Services containerized deployment (Helm and Docker Compose)

Home Page:https://alfresco.github.io/acs-deployment/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 the solr6 container, and restart solr6 service, the schema.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 alfrescocore 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

@alxgomz

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...