• elasticSearch+spring 整合 maven依赖详解


    摘自:http://www.mayou18.com/detail/nTxPQSyu.html 【Elasticsearch基础】elasticSearch+spring 整合 maven依赖详解

    Maven依赖

      <!-- elasticsearch package -->        <dependency>
                <groupId>fr.pilato.spring</groupId>
                <artifactId>spring-elasticsearch</artifactId>
                <version>2.2.0</version>
            </dependency>
    
            <dependency>
                <groupId>org.elasticsearch</groupId>
                <artifactId>elasticsearch</artifactId>
                <version>2.4.5</version>
            </dependency>
    
            <dependency>
                <groupId>org.springframework.data</groupId>
                <artifactId>spring-data-elasticsearch</artifactId>
                <version>2.0.4.RELEASE</version>
            </dependency>
    
            <dependency>
                <groupId>com.alibaba</groupId>
                <artifactId>druid</artifactId>
                <version>1.0.5</version>
            </dependency>

    spring-data-elasticsearch 与 Elasticsearch 版本对应表

    spring data elasticsearchelasticsearch
    2.0.4.RELEASE 2.4.0
    2.0.0.RELEASE 2.2.0
    1.4.0.M1 1.7.3
    1.3.0.RELEASE 1.5.2
    1.2.0.RELEASE 1.4.4
    1.1.0.RELEASE 1.3.2
    1.0.0.RELEASE 1.1.1

    spring-elasticsearch,elasticsearch,Spring 版本对应表:

    spring-elasticsearchelasticsearchSpringRelease date
    5.0.0-SNAPSHOT 5.0 - 5.x 4.2.3  
    2.2.0 2.0 - 2.4 4.2.3 2017-03-09
    2.1.0 2.0, 2.1 4.2.3 2015-11-25
    2.0.0 2.0 4.1.4 2015-10-25
    1.4.2 < 2.0 4.1.4 2015-03-03
    1.4.1 1.4 4.1.4 2015-02-28
    1.4.0 1.4 4.1.4 2015-01-03
    1.3.0 1.3 4.0.6 2014-09-01
    1.0.0 1.0 3.2.2 2014-02-14

    求关注:www.mayou18.com JAVA技术交流群:516348359 Jstorm技术交流群:199260183
  • 相关阅读:
    分布式与云计算有什么区别?
    多线程学习笔记
    docker解决报错WARNING: IPv4 forwarding is disabled. Networking will not work.
    Docker问题解决:Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io: no such host
    docker学习笔记
    linux命令学习
    Xftp5提示要继续使用此程序,您必须应用最新的更新的解决方案
    Springboot学习笔记
    maven学习笔记
    Spring学习笔记(6)
  • 原文地址:https://www.cnblogs.com/mayou18/p/6881917.html
Copyright © 2020-2023  润新知