elasticsearch sql的使用
阿新 • • 發佈:2019-02-18
還需要三個依賴:
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>io.searchbox</groupId >
<artifactId>jest</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version> 5.1.35</version>
</dependency>
這個基本上就可以了