Search Manual / Version 2207
Table Of Contents
Configure the URL to connect to Apache Solr in property solr.url
,
for example:
solr.url=http://localhost:40080/solr
You can also configure multiple comma-separated URLs in this property if you want to use multiple Solr follower nodes for failover and simple load balancing.
For SolrCloud, do not configure property solr.url
but set solr.cloud=true
and the ZooKeeper address(es) instead as in the following example:
solr.cloud=true solr.zookeeper.addresses=zookeeper1:2181,zookeeper2:2181,zookeeper3:2181
If Apache Solr has been secured and needs HTTP Basic authentication, you must also configure
the required user name and password in the properties solr.username
and
solr.password
.