You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be possible to tweak the indexConfig/lockType in solr/solrconfig.xml using a substitution variable, as described in the Solr docs for the supported 8.10 version.
Current Behavior
The provided solrconfig.xml does not have indexConfig or lockType elements at all, so it's not possible to change this configuration without changing the solrconfig.xml file itself. This is possible, but it would be nice to not have our configuration diverge from what ships with ArchivesSpace releases.
Possible Solution
Simply add the following under config in solrconfig.xml:
Adding a substitution variable would enable this to be changed via the SOLR_OPTS environment variable, without modifying the default of native.
Context
We have a use case in our Kubernetes deployment environment that requires the singlelockType option to prevent Solr from being left in a bad state when a container exits improperly. Since we're pulling in a pre-built release of ArchivesSpace, we currently have to modify (using xmlstarlet) solrconfig.xml to include the proper settings.
Expected Behavior
It should be possible to tweak the
indexConfig/lockType
insolr/solrconfig.xml
using a substitution variable, as described in the Solr docs for the supported 8.10 version.Current Behavior
The provided
solrconfig.xml
does not haveindexConfig
orlockType
elements at all, so it's not possible to change this configuration without changing thesolrconfig.xml
file itself. This is possible, but it would be nice to not have our configuration diverge from what ships with ArchivesSpace releases.Possible Solution
Simply add the following under
config
insolrconfig.xml
:Adding a substitution variable would enable this to be changed via the
SOLR_OPTS
environment variable, without modifying the default ofnative
.Context
We have a use case in our Kubernetes deployment environment that requires the
single
lockType
option to prevent Solr from being left in a bad state when a container exits improperly. Since we're pulling in a pre-built release of ArchivesSpace, we currently have to modify (usingxmlstarlet
)solrconfig.xml
to include the proper settings.Your Environment
The text was updated successfully, but these errors were encountered: