Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solr6's schema.xml always rollback to the original #985

Open
letusfly85 opened this issue Aug 8, 2023 · 2 comments
Open

solr6's schema.xml always rollback to the original #985

letusfly85 opened this issue Aug 8, 2023 · 2 comments

Comments

@letusfly85
Copy link

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

@alxgomz
Copy link
Contributor

alxgomz commented Aug 9, 2023

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

@letusfly85
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants