Search Manual / Version 2110
Table Of Contents
Configure the URL to connect to Apache Solr in property solr.url
,
for example:
solr.url=http://localhost:40080/solr
For up-to-date search results this should be the URL to the Solr leader if you are using a Solr leader/follower setup with index replication.
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
.