public class ElasticSearchRestUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.elasticsearch.client.RestHighLevelClient |
createClient(org.apache.http.HttpHost httpHost,
String username,
String password)
Constructs and returns a
RestHighLevelClient for the given httpHost, username and password. |
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.