<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:context="http://www.springframework.org/schema/context"
 xmlns:elasticsearch="http://www.springframework.org/schema/data/elasticsearch"
 xsi:schemaLocation="http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans.xsd
 http://www.springframework.org/schema/context
 http://www.springframework.org/schema/context/spring-context.xsd
 http://www.springframework.org/schema/data/elasticsearch
 http://www.springframework.org/schema/data/elasticsearch/spring-elasticsearch-1.0.xsd">
    <!-- 扫描DAO -->
    <elasticsearch:repositories base-package="cn.itcast.bos.index" />

 <elasticsearch:transport-client />
 </bean>
 
 
</beans>

相关文章:

  • 2021-12-11
  • 2021-10-25
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-11-23
猜你喜欢
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2022-02-07
相关资源
相似解决方案