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

The Solr schema.xml file should be generated programmatically using update-fields.sh #11023

Open
pdurbin opened this issue Nov 15, 2024 · 0 comments · May be fixed by #11024
Open

The Solr schema.xml file should be generated programmatically using update-fields.sh #11023

pdurbin opened this issue Nov 15, 2024 · 0 comments · May be fixed by #11024

Comments

@pdurbin
Copy link
Member

pdurbin commented Nov 15, 2024

update-fields.sh has been around for a while, added in back in #8130 but we (or at least, I) haven't fully embraced it when it comes to editing conf/solr/schema.xml.

schema.xml should be created the same way every time, using Docker so that we don't have differences between Mac and Linux.

In the future, diffs of schema.xml will be easier to grok if we create the file the same way every time.

For context, I'm reviewing #10887 which will result in a change to schema.xml.

I'll make a pull request with a schema.xml file created in Docker and some docs for developers.

pdurbin added a commit that referenced this issue Nov 15, 2024
The only difference is that Mac and Linux sort the lines differently.
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

Successfully merging a pull request may close this issue.

1 participant