Web / Apache Solr Interview questions
What is the purpose of solrconfig.xml?
solrconfig.xml is the operational control file for a Solr core or collection. It does not define field names or types; that's the schema's job. Instead it configures how Solr behaves at runtime.
- Request handlers - which endpoints exist (
/select,/update) and their default parameters. - Caches - filter cache, query result cache, document cache sizes and autowarm counts.
- Commit behavior - autoCommit and autoSoftCommit intervals.
- Update processors and listeners - logic that runs during indexing.
Because it drives performance-sensitive settings like caching and commits, it is one of the first files tuned when optimizing a Solr deployment.
More Related questions...