close

Filter

loading table of contents...

Search Manual / Version 2207

Table Of Contents

4.4.1 Configuring the Search Engine Location

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.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.