-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
How to add custom config such as schema.xml #9
Comments
Sure! I don't know much about solr, so I'll leave the best practices up to you :) |
Just trying to follow along here ... where do you need to put the config so that it's put in the solr container? |
Make a "solr" directory in your app and commit your config there. On the next deploy, we will extract the config and use that to configure solr. |
Thanks for this. Is there a trigger needed to make solr re-extract the config after deploy? (like a post-deploy hook on the app or something?)
But after pushing the app with git, I have a new web container, but the solr container is still old, e.g.,
I appreciate any insight you have about this (and apologies for being so clueless here). |
The config is moved into place but the container isn't restarted. Are you seeing that the config isn't in place? |
Thanks Jose, I don't see the config getting moved into place (I think I will nuke what I have so far and rebuild to make sure I haven't broken something while trying things out). The specific app I'm trying to Dokku-ize is this one: https://github.com/ElixirTeSS/TeSS/tree/master/solr/conf I'm not sure if having a The Dokku version I am using is Cheers, |
It needs to be directly in the solr directory, not in a conf subdirectory. |
Okay thanks. I will adapt here. https://github.com/samvera/hyku/tree/main/solr/conf (Maybe this is a |
I don't know how those projects integrate with solr, but its almost certainly something custom since there isnt anything common about the other contents of the |
The pre-build hook will copy /solr/schema.xml and /solr/solrconfig.xml into the solr container. But the README says nothing about this. I am glad to do this, but wonder along the way if we might also have a folder such as /solrconfig, and have it copy every file in that folder into the same folder. For other files like protwords.txt. My use case is running sunspot with Rails.
The text was updated successfully, but these errors were encountered: