Class LBSolrClient.Builder<C extends HttpSolrClientBase>
java.lang.Object
org.apache.solr.client.solrj.impl.LBSolrClient.Builder<C>
- Enclosing class:
LBSolrClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setAliveCheckInterval(int aliveCheckInterval, TimeUnit unit) LBHttpSolrServer keeps pinging the dead servers at fixed interval to find if it is alive.withDefaultCollection(String defaultCoreOrCollection) Sets a default for core or collection based requests.
-
Field Details
-
defaultCollection
-
-
Constructor Details
-
Builder
-
-
Method Details
-
setAliveCheckInterval
LBHttpSolrServer keeps pinging the dead servers at fixed interval to find if it is alive. Use this to set that interval- Parameters:
aliveCheckInterval- how often to ping for aliveness
-
withDefaultCollection
Sets a default for core or collection based requests. -
getSolrClient
-
build
-