Search configuration properties in the Solr configuration file (solrconfig.xml)
The solrconfig.xml controls how Solr behaves by mapping requests to different handlers. One index can be represented as one core. If you want to use multiple indexes, for example, a book of recipes and a book of countries, these different indexes or books represent different cores. The solrconfig.xml contains most of the parameters for configuring Solr. It defines how search requests are managed, and how to manipulate data for the user.
- /opt/WebSphere/Liberty/usr/servers/default/resources/search/index/managed-solr/config/v3/indextype/conf/solrconfig.xml
- Query handler
- A handler that is implicitly mapped to the /select path, unless another name is explicitly used instead.
- Replication handler
- A handler that is mapped to the /replication path. This handler controls index replication between the master and subordinate servers.
- Data import handler
- A handler that is mapped to the /dataimport path. It is used to load structured content using the Data Import Handler (DIH). It handles both full and incremental (delta) imports.
Configurable properties for search
- The schema.xml file can be extended using the x-schema.xml file.
- The solrconfig.xml file can be extended by editing the jvm.options file or by configuring the SRCHCONFEXT database table.
- 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.
Configurable properties for managed search templates
- By adding or changing search server JVM arguments in the jvm.options file in the Search server. For instructions on customizing jvm.options, see Tuning Just-In-Time compilers.
- by changing the relevant values in the SRCHCONFEXT database table. The values in SRCHCONFEXT will override the default settings in the solrconfig.xml file. For more information, see Extending the solrconfig.xml file.
Search property | Purpose of property |
---|---|
Update processor chain | Contains properties for the update processor chain
|
Managed search templates | Contains properties for the managed search templates.
|