Initialization(initialization error 2)

  本篇文章为你整理了Initialization(initialization error 2)的详细内容,包含有initialization error initialization error 2 initialization failure:0×0000000c initialization error 4 Initialization,希望能帮助你了解 Initialization。

  IMPORTANT: No additional bug fixes or documentation updates

  will be released for this version. For the latest information, see the

  current release documentation.

  
Initializationedit

  A RestHighLevelClient instance needs a REST low-level client builder

  to be built as follows:

  

RestHighLevelClient client = new RestHighLevelClient(

 

   RestClient.builder(

   new HttpHost("localhost", 9200, "http"),

   new HttpHost("localhost", 9201, "http")));

 

  The high-level client will internally create the low-level client used to

  perform requests based on the provided builder. That low-level client

  maintains a pool of connections and starts some threads so you should

  close the high-level client when you are well and truly done with

  it and it will in turn close the internal low-level client to free those

  resources. This can be done through the close:

  

client.close();

 

  In the rest of this documentation about the Java High Level Client, the RestHighLevelClient instance

  will be referenced as client.

  以上就是Initialization(initialization error 2)的详细内容,想要了解更多 Initialization的内容,请持续关注盛行IT软件开发工作室。

郑重声明:本文由网友发布,不代表盛行IT的观点,版权归原作者所有,仅为传播更多信息之目的,如有侵权请联系,我们将第一时间修改或删除,多谢。

留言与评论(共有 条评论)
   
验证码: