close

Filter

loading table of contents...

Search Manual / Version 2010

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 master if you are using a Solr master/slave 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