摘要: 1 使用postman对elasticsearch进行测试 :下载插件: https://www.getpostman.com/apps ,下载时exe文件,双击自动安装,首次打开注册。下面就可以使用进行测试 请求: 响应: 2:elasticsearch中可以使用post,put,get等请求方式 阅读全文
posted @ 2018-03-08 19:59 1367356 阅读(5870) 评论(0) 推荐(0)
摘要: elasticsearch 自带的中分分词器将会使中文分成一个一个的单词,需要安装ik分词等,ik分词分为 ik_smart(粗粒度分词),ik_max_word(细粒度分词)两种模式。 1:首先安装elasticsearch:官网下载elasticsearch zip版本 https://www. 阅读全文
posted @ 2018-03-08 10:56 1367356 阅读(721) 评论(0) 推荐(0)
摘要: 官方文档: https://spring.io/guides/gs/rest-service/ 参考:http://blog.csdn.net/u013360850/article/details/53415005 1:spring boot 的需要脚本添加插件,首先创建多模块gradle项目,根目 阅读全文
posted @ 2018-03-07 11:17 1367356 阅读(1652) 评论(0) 推荐(0)
摘要: value: 指定请求的实际地址, 比如 /action/info之类。method: 指定请求的method类型, GET、POST、PUT、DELETE等consumes: 指定处理请求的提交内容类型(Content-Type),例如application/json, text/html;pro 阅读全文
posted @ 2018-03-06 16:58 1367356 阅读(284) 评论(0) 推荐(0)
摘要: 1:如果没有数据库连接插件,下载database插件 settings>plugin>Database Navigator 下载。 2:重启 3:进入 view>tool window>DB browser> 点击加号>选择数据库>进行连接 4:执行sql语句,成功 阅读全文
posted @ 2018-02-28 21:35 1367356 阅读(262) 评论(0) 推荐(0)
摘要: 在application.yml中配置 service发布服务 访问 http://localhost:8080//crm/services/path/p1 返回path 带参数的请求。 url http://127.0.0.1:9001/background/services/QueryProdu 阅读全文
posted @ 2018-02-28 20:22 1367356 阅读(937) 评论(0) 推荐(0)
摘要: 1:使用idea创建一个maven工程 bos2 2:删除bos2的src 文件夹,向pom.xml文件 中添加版本号 2:根目录右键 添加模块,选择maven工程。创建maven子模块 crm_domain 子模块pom.xml添加 3:创建对象 3:右键根工程创建一个子模块crm_managem 阅读全文
posted @ 2018-02-28 11:52 1367356 阅读(309) 评论(0) 推荐(0)
摘要: 写TCP 服务器和客户端 vert.x能够使你很容易写出非阻塞的TCP客户端和服务器 创建一个TCP服务 最简单的创建TCP服务的方法是使用默认的配置:如下 配置TCP服务 如果你不想使用默认配置,当创建服务时,可以通过传递NetServerOptions实例进行配置 开启服务监听 为了告诉服务去监 阅读全文
posted @ 2018-02-22 15:53 1367356 阅读(1188) 评论(0) 推荐(0)
摘要: 1: 电脑安装idea,git,github,idea中自带的有git,github等版本控制插件 2:向idea中添加git,github等 file>settings>github 3:file>setting>git 4:github>new Repository. idea创建java工程保 阅读全文
posted @ 2018-02-22 09:43 1367356 阅读(156) 评论(0) 推荐(0)
摘要: 多工程依赖:http://blog.csdn.net/w8452960/article/details/53415415 https://www.cnblogs.com/softidea/p/4525236.html 打jar包 打jar包 阅读全文
posted @ 2018-02-09 20:03 1367356 阅读(433) 评论(0) 推荐(0)