How to create new core in Solr 5?

immayankmodi picture immayankmodi · Mar 16, 2015 · Viewed 52.6k times · Source

Currently we are using Apache Solr 4.10.3 OR Heliosearch Distribution for Solr [HDS]

Answer

Saurabh Tewari picture Saurabh Tewari · Mar 16, 2015

In Solr 5, creation of cores is supported by the bin/solr script provided in the distribution. Try

bin/solr create -help

for a quick introduction.

From the above help doc, you may find:

bin/solr create [-c name] [-d confdir] [-n configName] [-shards #] [-replicationFactor #] [-p port]