how to load metadata blocks and adjust Solr in Docker#11204
how to load metadata blocks and adjust Solr in Docker#11204ofahimIQSS merged 6 commits intodevelopfrom
Conversation
stevenwinship
left a comment
There was a problem hiding this comment.
Tested the steps in the doc with no issues
|
|
||
| Update your Solr schema with the following command: | ||
|
|
||
| ``curl http://localhost:8080/api/admin/index/solr/schema | docker run -i --rm -v ./docker-dev-volumes/solr/data:/var/solr gdcc/configbaker:unstable update-fields.sh /var/solr/data/collection1/conf/schema.xml`` |
There was a problem hiding this comment.
Consider removing the unstable Docker tag to emphasize that this approach is compatible with other image versions as well.
There was a problem hiding this comment.
@johannes-darms I like this idea but currently we don't push a "latest" tag, which means you get an error like this if you leave off the tag:
% docker run gdcc/configbaker
Unable to find image 'gdcc/configbaker:latest' locally
docker: Error response from daemon: failed to resolve reference "docker.io/gdcc/configbaker:latest": docker.io/gdcc/configbaker:latest: not found.
I'll try to remember to circle back to this once we start pushing a "latest" tag. We'll probably work on this as part of this issue:
|
No issues found - merging |
|
spoke to soon, please resolve the merge conflict :) |
Conflicts: doc/sphinx-guides/source/container/running/demo.rst
|
Sure, resolved. |
|
merging, no issues found |
What this PR does / why we need it:
In the tutorial for running Dataverse in Docker, this PR explains how to load a metadata block and update the fields in Solr.
Which issue(s) this PR closes:
Special notes for your reviewer:
None.
Suggestions on how to test this:
Follow the docs.
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No.
Is there a release notes update needed for this change?:
Yes, included.
Additional documentation:
Preview at https://dataverse-guide--11204.org.readthedocs.build/en/11204/container/running/demo.html#additional-metadata-blocks