3

I am trying to create collection in solr cloud,

https://abc.a/solr/admin/collections?action=CREATE&name=123&configSet=super&numShards=2&replicationFactor=2&maxShardsPerNode=2&wt=json

The collection is created, but the configSet is created using _default besides the specified configSet "super"

super configuration already uploaded to zookeeper.

Abhijit Bashetti
  • 8,518
  • 7
  • 35
  • 47
siva sandeep
  • 557
  • 1
  • 5
  • 17

1 Answers1

1

You can use below url to create the collection

http://localhost:8983/solr/admin/collections?action=CREATE&name=TestDemo4&numShards=1&replicationFactor=1&createNodeSet=localhost:8983_solr&collection.configName=pkiConfig

The response you get is :

{
  "responseHeader":
   {
    "status":0,
    "QTime":697 
   }
}

In the solr admin page you check the collection and verify which configset is been used for the collection.

Screenshot

Abhijit Bashetti
  • 8,518
  • 7
  • 35
  • 47
  • can you check this https://stackoverflow.com/questions/61346386/solr-cloud-log-explination-for-solr-velocityresponsewriter – siva sandeep Apr 21 '20 at 14:55