I want to install solr in my windows 10. but I am having this error I even have jdk version 1.8.0_112 and my solr version is solr_7.7.2.
I have followed each and ever step provided on website
ERROR: Solr server directory E:\\server not found
I want to install solr in my windows 10. but I am having this error I even have jdk version 1.8.0_112 and my solr version is solr_7.7.2.
I have followed each and ever step provided on website
ERROR: Solr server directory E:\\server not found
Have a look at the Solr documentation:
-d <dir>
: Define a server directory, defaults toserver
(as in,$SOLR_HOME/server
). It is uncommon to override this option. When running multiple instances of Solr on the same host, it is more common to use the same server directory for each instance and use a unique Solr home directory using the-s
option. Example:bin/solr start -d newServerDir
-s <dir>
: Sets thesolr.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 asolr.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. Example:bin/solr start -s newHome
Is it possible that your Solr instance wants to use a specific home or server directory that just doesn't exist?