I know that are a few ways to create Solr collections. One using Solr Admin UI webpage. Another using Collections API
But How do I create collection in Solr using COMMAND LINE ?
I know that are a few ways to create Solr collections. One using Solr Admin UI webpage. Another using Collections API
But How do I create collection in Solr using COMMAND LINE ?
Let's suppose you have download and placed the Solr binaries at the location /opt/apps/solr, then you can create a collection in the following manner.
cd /opt/apps/solr/bin
./solr create -c {collectionName} -n {configName} -p 8983
Done!