摘要: 使用 Maven 工程,我的 pom 文件如下所示: 连接机器 Index API 创建 Index 并且插入 Document 创建索引有很多种方法,这里列举常用的 2 种: 注意:Index API 只能用于创建 index,类似于关系型数据库里面的 create table,他不能对已有的数据 阅读全文
posted @ 2017-12-05 18:12 start枫 阅读(238) 评论(0) 推荐(0) 编辑
摘要: SpringBoot源码分析之SpringBoot的启动过程 发表于 2017-04-30 | 分类于 springboot | 0 Comments | 阅读次数 SpringBoot的启动很简单,代码如下: 1 2 3 4 5 6 @SpringBootApplication public cl 阅读全文
posted @ 2017-12-05 12:29 start枫 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 8.1 配置 Spring MVC的配置是通过继承WebMvcConfigurerAdapter类并重载其方法实现的; 前几个教程已做了得配置包括 01点睛Spring MVC 4.1-搭建环境 配置viewResolver 03点睛Spring MVC 4.1-REST 静态资源映射 04点睛Sp 阅读全文
posted @ 2017-12-05 11:54 start枫 阅读(1302) 评论(0) 推荐(0) 编辑