会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
wmx3ng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
2014年12月1日
[转载]JAVA调用Shell脚本
摘要: FROM:http://blog.csdn.net/jj12345jj198999/article/details/11891701在实际项目中,JAVA有时候需要调用C写出来的东西,除了JNI以外,我认为一种比较好的方法是JAVA调用Shell。先把C写出来的make成可执行文件,然后再写一个sh...
阅读全文
posted @ 2014-12-01 15:27 wmx3ng
阅读(486)
评论(0)
推荐(0)
2014年11月28日
[转载]linux 清除系统cached
摘要: FROM: http://cqfish.blog.51cto.com/622299/197230linux 清除系统cachedtop查看系统内存使用情况Mem:16432180k total, 13737848k used,2694332k free, 945396k buffersfreem -...
阅读全文
posted @ 2014-11-28 13:26 wmx3ng
阅读(1202)
评论(0)
推荐(0)
2014年11月27日
安装ansj分词器
摘要: 项目地址:https://github.com/4onni/elasticsearch-analysis-ansjhttps://github.com/laigood/elasticsearch-analysis-ansj安装步骤基本上是按照第一个网页的要求安装的,通过插件的形式.
阅读全文
posted @ 2014-11-27 18:09 wmx3ng
阅读(520)
评论(0)
推荐(0)
2014年11月26日
elasticsearch升级步骤
摘要: ES从1.2.1升级到1.4.0升级步骤,基本上是按照官网的叙述来完成的,链接是:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-upgrade.html#_1_0_and_later,参考的内容...
阅读全文
posted @ 2014-11-26 18:20 wmx3ng
阅读(1470)
评论(1)
推荐(0)
2014年11月21日
[转载]Elasticsearch索引重建(Rebuild)
摘要: From:http://blog.csdn.net/changong28/article/details/38491185索引重建(Rebuild) 索引创建后,你可以在索引当中添加新的类型,在类型中添加新的字段。但是如果想修改已存在字段的属性(修改分词器、类型等),目前ES是做不到的。如果确实存在...
阅读全文
posted @ 2014-11-21 15:09 wmx3ng
阅读(10275)
评论(1)
推荐(0)
2014年11月17日
[转载]Elasticsearch Java API总汇
摘要: from:http://blog.csdn.net/changong28/article/details/38445805#comments3.1 集群的连接3.1.1 作为Elasticsearch节点import static org.elasticsearch.node.NodeBuilder...
阅读全文
posted @ 2014-11-17 12:03 wmx3ng
阅读(8549)
评论(0)
推荐(3)
2014年11月14日
ElasticSearch Aggs的一些使用方法
摘要: 这段代码是关于多层聚合和嵌套域的聚合,来源:https://github.com/elasticsearch/elasticsearch/blob/master/src/test/java/org/elasticsearch/search/aggregations/bucket/NestedTest...
阅读全文
posted @ 2014-11-14 10:34 wmx3ng
阅读(11710)
评论(0)
推荐(0)
ElasticSearch中设置排序Java
摘要: 有用的链接:http://stackoverflow.com/questions/12215380/sorting-on-several-fields-in-elasticsearch有的时候,需要自己设定排序,java的一个接口如下: String time1 = ConstValu...
阅读全文
posted @ 2014-11-14 10:11 wmx3ng
阅读(13371)
评论(0)
推荐(1)
ElasticSearch获取指定Field数据的Java方法
摘要: ElasticSearch(ES)检索后需要结果时,可能通过source接口读出.但是这样的话,返回的结果会很多.在调用search方法时,我们可以添加addfield或addfields方法,仅仅读取需要的域.接口示例如下:1 SearchResponse response = c...
阅读全文
posted @ 2014-11-14 10:05 wmx3ng
阅读(4215)
评论(0)
推荐(0)
2014年11月11日
git stash
摘要: 博客来源:http://blog.csdn.net/dawn_moon/article/details/6977388git stash 的几种使用方法 :1 git stash2 git stash list3 git stash clear4 git stash applyView Codegi...
阅读全文
posted @ 2014-11-11 10:25 wmx3ng
阅读(322)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
11
下一页
公告