Commit 374926fb authored by nivetha's avatar nivetha
Browse files

Merge branch 'master' of https://git.idc.tarento.com/smf/smf-form

Showing with 1 addition and 4 deletions
+1 -4
......@@ -85,11 +85,8 @@ public class ElasticSearchRepository {
return httpClientBuilder.setDefaultCredentialsProvider(credentialsProvider);
}
};
// return new RestHighLevelClient(
// RestClient.builder(new HttpHost(appConfig.getElasticHost(), appConfig.getElasticPort())));
return new RestHighLevelClient(
RestClient.builder(new HttpHost(appConfig.getElasticHost(),appConfig.getElasticPort(), "https"))
.setHttpClientConfigCallback(httpClientConfigCallback));
RestClient.builder(new HttpHost(appConfig.getElasticHost(), appConfig.getElasticPort())));
}
private RestHighLevelClient connectToElasticSearch2() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment