Reputation: 1605
What does the -s option in the below solr command do?
solr start -p 8983 -s "../example/techproducts/solr"
Second, if I run the command solr -e techproducts
as mentioned in this http://www.solrtutorial.com/solr-in-5-minutes.html#Install after the solr is already started it gives an error that "an instance of solr is already running"
Upvotes: 0
Views: 85
Reputation: 417
Sets the
solr.solr.home
system property; Solr will create core directories under this directory. This allows you to run multiple Solr instances on the same host while reusing the same server directory set using the -d parameter.If set, the specified directory should contain a
solr.xml
file, unlesssolr.xml
exists in ZooKeeper. The default value isserver/solr
.This parameter is ignored when running examples (
-e
), as thesolr.solr.home
depends on which example is run.
-- from Lucidworks - Solr Control Script Reference
Upvotes: 1