Hi I am trying to create a collection via Collection API and set a core property to use system substitution variable as shown below: http://localhost:8090/solr/admin/collections?action= CREATE&name=ds&numShards=1&replicationFactor=1& maxShardsPerNode=1&collection.configName=ds&property. dataDir=${solr.data.dir}\ds
This doesn't work as the index files are getting created at the root folder (c:/ds/). How do I force it to accept the value as a literal string so that it is set as "dataDir=${solr.data.dir}/ds" ? Note: If I explicitly modify the core.properties "dataDir" to ${solr.data.dir}\ds , it works as expected and the index files gets created at this location. This is using Solr 6.3. Thanks Sunil