Fix for #162: save the solrconfigs per layer.