Solr configuration files
Solr configuration files control search indexes, cores, and interactions between the Solr core and WebSphere Commerce. We cannot directly modify or extend Solr configuration files, such as the schema.xml, solrconfig.xml, or wc-data-config.xml files. Instead, we can work with customizable files to extend Solr configuration files:
- The schema.xml file can be extended using the x-schema.xml file.
- The solrconfig.xml file can be extended using the solrcore.properties file.
- The wc-data-config.xml file can be extended using a combination of the solrcore.properties and x-data-config.xml files, depending on the scope of the customization.
- Solr schema file (schema.xml)
- Solr XML file (solr.xml)
- Search configuration properties in the Solr configuration file (solrconfig.xml)
- Extending the schema.xml file using the x-schema.xml file
- Extending the solrconfig.xml file
- Extending the wc-data-config.xml file using the wc-data-preprocess-x-finalbuild.xml file