上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: Mybatis中的CRUD操作(增删改查)中,简单的SQL操作比较直观,如查找操作: 其中id对应同名java文件中的方法,resultMap对应的自定义的数据类型(当使用java自带类型就更容易了,比如java.lang.String之类的)。 但是涉及到更新操作时,可能不需要对所有字段更新,这时 阅读全文
posted @ 2016-05-22 15:52 ITRoad 阅读(141861) 评论(12) 推荐(12)
摘要: elasticsearch jdbc 环境 Ubuntu 14.04 JDK 1.8.0_66 Elasticsearch 2.3.1 Elasticsearch jdbc 2.3.1.0 Elasticsearch单节点环境 进入es目录~/cluster/elasticsearch 2.3.1 阅读全文
posted @ 2016-04-26 11:29 ITRoad 阅读(3358) 评论(0) 推荐(0)
摘要: IK分词插件的安装 ES集群环境 VMWare下三台虚拟机Ubuntu 14.04.2 LTS JDK 1.8.0_66 Elasticsearch 2.3.1 elasticsearch jdbc 2.3.1.0 IK分词器1.9.1 clustername:my application 分配如下 阅读全文
posted @ 2016-04-26 11:28 ITRoad 阅读(3620) 评论(0) 推荐(0)
摘要: Modifying Data Indexing/Replacing Documents If we then executed the above command again with a different (or same) document, Elasticsearch will replac 阅读全文
posted @ 2016-04-18 18:48 ITRoad 阅读(353) 评论(0) 推荐(0)
摘要: installation Elasticsearch requires at least Java 7. Specifically as of this writing, it is recommended that you use the Oracle JDK version 1.8.0_73. 阅读全文
posted @ 2016-04-18 18:47 ITRoad 阅读(912) 评论(0) 推荐(0)
摘要: The REST API Now that we have our node (and cluster) up and running, the next step is to understand how to communicate with it. 1.Check your cluster, 阅读全文
posted @ 2016-04-18 18:47 ITRoad 阅读(450) 评论(0) 推荐(0)
摘要: 试验机器: Ubuntu 12.04、Lubuntu都可,其他版本应该也没问题,服务器ip:192.168.235.133 主机执行步骤: 1.在/var/cache/apt/archives内有服务器通过apt安装过的软件包,为deb格式,也可自己添加需要软件,可作为源。 2.安装dpkg-dev 阅读全文
posted @ 2015-11-16 23:18 ITRoad 阅读(8392) 评论(0) 推荐(0)
摘要: 用户设置bash的时候,错把root的bash改为bin/bash,注意,不是“/bin/bash”!。 然后就登录不了root了,也修改不了/etc/passwd了。 解决: 1、重启Ubuntu,随即长按shift进入grub菜单; 2、选择recovery mode,即Ubuntu,With 阅读全文
posted @ 2015-11-16 23:15 ITRoad 阅读(1131) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/ruiati/p/3584120.html 1、下载最新的Eclipse,我的版本是3.7.2 indigo(Eclipse IDE for Java EE Developers)版 如果没有安装的请到这里下载安装:http://eclipse.org/ 阅读全文
posted @ 2015-09-27 15:44 ITRoad 阅读(202) 评论(0) 推荐(0)
摘要: 如何快速建立Subversion服务器,并且在项目中使用起来,这是大家最关心的问题,与CVS相比,Subversion有更多的选择,也更加的容易,几个命令就可以建立一套服务器环境,可以使用起来,这里配套有动画教程。本文是使用Subversion最快速的教程,在最短的时间里帮助您建立起一套可用的服务器... 阅读全文
posted @ 2015-09-27 15:43 ITRoad 阅读(222) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页