June 2017
Beginner to intermediate
404 pages
8h 22m
English
You can add the transport client to your application using Maven or Gradle:
<dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>transport</artifactId> <version>5.1.2</version></dependency>
As shown in this code snippet, you can include the latest version of Elasticsearch transport client dependency in your pom.xml file.
The Gradle version is as follows:
dependencies { compile group: 'org.elasticsearch.client', name: 'transport', version: '5.1.2'}
You also need to add log4j2 dependencies:
<dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.7</version></dependency><dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> ...
Read now
Unlock full access