mirror of https://github.com/apache/lucene.git
Document-only fix for SOLR-4404 hopefully clarifying that it's OK to use LBHttpSolrServer in SolrCloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444316 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6677bbf60f
commit
1f7f80c697
|
@ -37,8 +37,16 @@ import java.util.*;
|
|||
/**
|
||||
* LBHttpSolrServer or "LoadBalanced HttpSolrServer" is a load balancing wrapper around
|
||||
* {@link org.apache.solr.client.solrj.impl.HttpSolrServer}. This is useful when you
|
||||
* have multiple SolrServers and the requests need to be Load Balanced among them. This should <b>NOT</b> be used for
|
||||
* indexing. Also see the <a href="http://wiki.apache.org/solr/LBHttpSolrServer">wiki</a> page.
|
||||
* have multiple SolrServers and the requests need to be Load Balanced among them.
|
||||
*
|
||||
* Do <b>NOT</b> use this class for indexing in master/slave scenarios since documents must be sent to the
|
||||
* correct master; no inter-node routing is done.
|
||||
*
|
||||
* In SolrCloud (leader/replica) scenarios, this class may be used for updates since updates will be forwarded
|
||||
* to the appropriate leader.
|
||||
*
|
||||
* Also see the <a href="http://wiki.apache.org/solr/LBHttpSolrServer">wiki</a> page.
|
||||
*
|
||||
* <p/>
|
||||
* It offers automatic failover when a server goes down and it detects when the server comes back up.
|
||||
* <p/>
|
||||
|
|
Loading…
Reference in New Issue