The core.properties contains some of the following properties, which we can configure as per our needs for our Solr core:
Property
|
Description
|
name |
The name of the Solr core. Whenever you need to reference SolrCore with CoreAdminHandler, you will need this name. |
config |
Configuration filename and path. By default, this is solrconfig.xml. |
schema |
Schema filename of a core. |
dataDir |
Data directory where indexes are stored. |
configSet |
The config set that should be picked up to configure the core. |
properties |
The properties file path for this core. |
transient |
This decides whether the core can be unloaded or not if Solr reaches transientCacheSize. |
loadOnStartUp |
This decides whether or not to load the core on startup. |
coreCodeName |
A unique identifier for the node hosting the core. It can be helpful when you are replacing a machine that has had a hardware failure. |
ulogDir |
Directory for the update log. |
Shard |
The name of the shard to which the core would be assigned. |
Roles |
The name of the collection of the core in which you will index data. |