Class LBHttp2SolrClient.Builder

    • Field Detail

      • defaultCollection

        protected String defaultCollection
    • Method Detail

      • setAliveCheckInterval

        public LBHttp2SolrClient.Builder setAliveCheckInterval​(int aliveCheckInterval,
                                                               TimeUnit unit)
        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

        public LBHttp2SolrClient.Builder withDefaultCollection​(String defaultCoreOrCollection)
        Sets a default for core or collection based requests.