Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RestHighLevelClient client = new RestHighLevelClient(RestClient.builder(new HttpHost(ipaddress, port, "http")));
- client.indices().putMapping(putMappingRequest);
- <groupId>org.elasticsearch.client</groupId>
- <artifactId>elasticsearch-rest-high-level-client</artifactId>
- <version>6.2.1</version>
Add Comment
Please, Sign In to add comment