How to change HighLevel Client default timeout value?


(Varun) #1

I initialised client in java as below

RestHighLevelClient client = new RestHighLevelClient(
        RestClient.builder(
                new HttpHost("localhost", 9200, "http"),
                new HttpHost("localhost", 9201, "http")));

But by default client timeout at 30 sec. How can i increase it to 1 min ?
What is the change i need to do for that ?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.