Search code examples
javaphpsolrlucenesolrcloud

Cannot Find Proper solrconfig.xml file for configuration in solr 5.1.0


I have setup Solr 4.7 before and I had configured solrconfig.xml file in my core for dataimport requestHandler and it was working fine.

But when I setup Solr 5.1.0, what is the location of solrconfig.xml file for particular core? Where is it located?


Solution

  • When you try SolrCloud for the first time using the bin/solr -e cloud, the related configset gets uploaded to zookeeper automatically and is linked with the newly created collection. The below command would start SolrCloud with the default collection name (gettingstarted) and default configset (data_driven_schema_configs) uploaded and linked to it.

    here is the path for the config files

    ../solr-5.1.0/server/solr/configsets
    

    if you don't mention the configset, the default is "data_driven_schema_configs".

    So you will find your config files here

    ../solr-5.1.0/server/solr/configsets/data_driven_schema_configs