I've followed the Solr tutorial, but the URL they make you use is:
http://localhost:8983/solr/
What is the most simple way to change this URL to:
http://localhost:8983/foobar/
I've followed the Solr tutorial, but the URL they make you use is:
http://localhost:8983/solr/
What is the most simple way to change this URL to:
http://localhost:8983/foobar/
I think I figured it out myself. What I did was, inside the example directory, rename
to
Also, I changed a line in solr/conf/scripts.conf to
If you are running Solr with Jetty, you can change it in
webdefault.xml
. Detailed instructions hereSeems a little different in 2014 with Solr 4.10:
From the "example" directory or your equivalent:
<Set name="contextPath"><SystemProperty name="hostContext" default="/foobar"/></Set>
I'm not sure where the webapp_name parameter is used but it seems reasonable to keep this.