springboot2.1.5集成单节点elasticsearch6.4.0

本案例写了一个关于医生医院搜索的例子,包括求和模式下的打分(分值与相关性有关)搜索和聚合查询,单节点时切勿配置节点名称和节点ip。

github地址:https://github.com/zhzhair/es-spring-boot.git

启动项目,访问http://localhost/swagger-ui.html#!/。

  1.根据医生或医院名称全文检索;

  2.权重分查询;

  3.查询各个医院的医生数;

  4.windows10安装elasticsearch说明。

posted @ 2019-03-10 17:15  zhzhair-codestyle  阅读(1375)  评论(0编辑  收藏  举报