Symptom
Administrators configure custom Solr cache parameters or other Solr properties using placeholders in solrconfig.xml, for example:
size="${py.documentCache.size:49152}"
initialSize="${py.documentCache.initialSize:8192}"
Values are also defined in SAP Commerce Cloud (CCv2) Portal → Solr Service → Properties, but during runtime Solr ignores the configured values and instead always uses the fallback defaults defined after the colon in the placeholder (e.g. 49152, 8192).
After deployment or restart:
-
- The expected custom property values are not applied
- Solr does not pick up the values set in the Cloud Portal
- Cache sizes or other configuration parameters remain unchanged
- No errors appear in logs; Solr simply resolves the placeholders using the default value
Read more...
Environment
-
SAP Commerce Cloud (CCv2)
Product
Keywords
solrconfig.xml, solr configuration, documentCacheSize, solr properties, JVM startup parameters, Solr Config API, override solr parameters, solr node settings, solr.xml, cache parameters, rolling restart, SAP Commerce Cloud , KBA , CEC-SCC-CLA-ENV-EMG , Environment Management , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview