apache / solr-operator

Official Kubernetes operator for Apache Solr
https://solr.apache.org/operator
Apache License 2.0
243 stars 112 forks source link

Bring solr.xml into line with current Solr default settings. #635

Closed gerlowskija closed 9 months ago

gerlowskija commented 9 months ago

The solr.xml that the operator currently uses as a default for new solrcloud resources was crafted in the Solr 7.x timeline. A recent issue took some baby steps towards modernizing it, but it's still missing a number of settings that we can take advantage of now that our minimum Solr version is 8.11. Particularly, sysprop-driven XML tags for "sharedLibs", "allowPaths", and "metrics".

Let's add these to our default solr.xml, so that users can drive these settings as desired through system properties.

gerlowskija commented 9 months ago

This is a sub-task of #616

HoustonPutman commented 9 months ago

100%! The allowPaths will be great as well, so that we can eventually utilize it for the backup paths, which currently reside in the data directory... But that is not required for this release.