On 5/11/2016 3:08 AM, scott.chu wrote:
> I see there's a -h option for bin\solr start command. What's that for?
When we crate a core, say 'abc', the request url is something like
http://..../solr/abc. I'd like to change 'solr' to other name, how can I
do it?

The "host" is what SolrCloud will publish in zookeeper as the hostname
for this server, which is used by the distributed search functionality
inherent in SolrCloud.  If you are not using SolrCloud, this does
nothing.  Some poeple assume that this controls which network interface
will be used, but that is not what it's for.

The /solr part of the URL is set by Jetty.  It is called the context
path.  Note that if you change this path (which you CAN do), the admin
UI in 6.0 will stop working.  So far, this is not considered to be a bug
-- the person who wrote our new UI specifically designed it around a
static /solr path.  Since 5.0, the only supported way to run Solr is the
included scripts that start the included Jetty, where we maintain
control of the configuration.  See the SOLR-9054 issue in Jira for more
detailed information.

Thanks,
Shawn

Reply via email to