raikumardipak
raikumardipak

Reputation: 1605

What solr -s option does?

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

Answers (1)

jim collins
jim collins

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, unless solr.xml exists in ZooKeeper. The default value is server/solr.

This parameter is ignored when running examples (-e), as the solr.solr.home depends on which example is run.

-- from Lucidworks - Solr Control Script Reference

Upvotes: 1

Related Questions