close

Filter

loading table of contents...

Search Manual / Version 2010

Table Of Contents

4.3.2 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

You can also configure multiple comma-separated URLs in this property if you want to use multiple Solr slave servers 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.

Search Results

Table Of Contents