Hi Erick, I did read that paragraph. It says: First, if you don't provide the -d or -n options, then the default configuration ($SOLR_HOME/server/solr/configsets/data_driven_schema_configs/conf) is uploaded to ZooKeeper using the same name as the collection. For example, the following command will result in the data_driven_schema_configs configuration being uploaded to /configs/contacts in ZooKeeper: bin/solr create -c contacts.
Here's what I did : /bin/solr create_collection -c test INFO - 2016-07-26 15:59:15.408; org.apache.solr.client.solrj.impl.CloudSolrClient; Final constructed zkHost string: 10.250.72.130:2181 Connecting to ZooKeeper at 10.250.72.130:2181 ... Uploading /home/np/solr-6.1.0/server/solr/configsets/data_driven_schema_configs/conf for config test to ZooKeeper at 10.250.72.130:2181 Creating new collection 'test' using command: http://localhost:8983/solr/admin/collections?action=CREATE&name=test&numShards=1&replicationFactor=1&maxShardsPerNode=1&collection.configName=test { "responseHeader":{ "status":0, "QTime":5006}, "success":{"10.250.70.120:8983_solr":{ "responseHeader":{ "status":0, "QTime":3667}, "core":"test_shard1_replica1"}}} So according to doc I should see data_driven_schema_configs being uploaded to ZooKeeper under "/configs/test" directory. It seems like doc is mentioning a literal "configs" directory. BUt I can't find that under my zookeeper installation. On Tue, Jul 26, 2016 at 4:18 PM, Erick Erickson <erickerick...@gmail.com> wrote: > From the doc you referenced where it outlines the parameters for the > create command: > > -d <confdir> : The configuration directory. This defaults to > data_driven_schema_configs. > > You should also review the linked section about what configuration > directories are all about: > > https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference#SolrStartScriptReference-ConfigurationDirectoriesandSolrCloud > > Best, > Erick > > > On Tue, Jul 26, 2016 at 4:11 PM, Nirav Patel <npa...@xactlycorp.com> > wrote: > > Hi, > > > > I have 2 nodes solr cluster with 1 node standalone zookeeper. > > > > I tried following from following doc to create collection: > > > > bin/solr create -c contacts. > > > > According to doc should upload config date into /configs/contacts in > > ZooKeeper. But I can't find any configs directory under zookeeper. > > > > > https://cwiki.apache.org/confluence/display/solr/Solr+Start+Script+Reference#SolrStartScriptReference-Create > > > > Where did config files go? I want to modify them using vi and then upload > > it again. But first I want to locate them on filesystem. According to doc > > on "Configuration Directories and SolrCloud" it should be under zookeepr > > but it's not! > > > > Thanks > > > > -- > > > > > > [image: What's New with Xactly] <http://www.xactlycorp.com/email-click/> > > > > <https://www.nyse.com/quote/XNYS:XTLY> [image: LinkedIn] > > <https://www.linkedin.com/company/xactly-corporation> [image: Twitter] > > <https://twitter.com/Xactly> [image: Facebook] > > <https://www.facebook.com/XactlyCorp> [image: YouTube] > > <http://www.youtube.com/xactlycorporation> > -- [image: What's New with Xactly] <http://www.xactlycorp.com/email-click/> <https://www.nyse.com/quote/XNYS:XTLY> [image: LinkedIn] <https://www.linkedin.com/company/xactly-corporation> [image: Twitter] <https://twitter.com/Xactly> [image: Facebook] <https://www.facebook.com/XactlyCorp> [image: YouTube] <http://www.youtube.com/xactlycorporation>