博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页

2018年5月15日

摘要: 1.查找ES进程 ps -ef | grep elastic 2.杀掉ES进程 kill -9 2382(进程号) 3.重启ES sh elasticsearch -d 注意:elasticsearch不能用root用户启动。 阅读全文

posted @ 2018-05-15 17:38 和风细雨汪汪 阅读(3439) 评论(0) 推荐(0) 编辑

2018年5月8日

摘要: 表名:SYS_MENU alter table SYS_MENU enable row movementflashback table SYS_MENU to timestamp to_timestamp('2018-05-07 01:00:00','yyyy-mm-dd hh24:mi:ss') 阅读全文

posted @ 2018-05-08 10:02 和风细雨汪汪 阅读(127) 评论(0) 推荐(0) 编辑

2018年4月28日

摘要: SELECT ( SELECT count(1) FROM t_app_user WHERE parent_user_id = t.user_id /*多层级,t.user_id */ ) AS directCount, getSubUserCount ... 阅读全文

posted @ 2018-04-28 15:36 和风细雨汪汪 阅读(736) 评论(0) 推荐(0) 编辑

2018年4月20日

摘要: PUT http://192.168.1.12:9200/_settings { "index": { "max_result_window": "1000000" }} 阅读全文

posted @ 2018-04-20 14:33 和风细雨汪汪 阅读(259) 评论(0) 推荐(0) 编辑

2018年3月22日

摘要: POST: http://192.168.1.12:9200/ddycdr/_analyze?analyzer=ik_max_word body: {"text":"阿斯顿阿斯顿"} 阅读全文

posted @ 2018-03-22 12:03 和风细雨汪汪 阅读(509) 评论(0) 推荐(0) 编辑

2018年3月16日

摘要: public void createIndex(TransportClient client, String index){ CreateIndexRequest request = new CreateIndexRequest(index); String setting ="" +"{" +" ... 阅读全文

posted @ 2018-03-16 09:51 和风细雨汪汪 阅读(535) 评论(0) 推荐(0) 编辑

2018年3月6日

摘要: 解决方法: 在SpringBoot项目中配置文件加上 spring.jmx.enabled=false https://stackoverflow.com/questions/27440985/unable-to-register-mbean-hikaridatasource-hikaripool- 阅读全文

posted @ 2018-03-06 10:43 和风细雨汪汪 阅读(4502) 评论(0) 推荐(0) 编辑

2018年2月8日

摘要: PUT /_settings HTTP/1.1 Host: 192.168.1.12:9200 Cache-Control: no-cache Postman-Token: 1befb0fb-6492-91f6-0125-9702554b5d3b { "index" : { "number_of_replicas" : 0 } } 阅读全文

posted @ 2018-02-08 16:01 和风细雨汪汪 阅读(237) 评论(0) 推荐(0) 编辑

摘要: https://elasticsearch.cn/article/155 阅读全文

posted @ 2018-02-08 14:47 和风细雨汪汪 阅读(198) 评论(0) 推荐(0) 编辑

摘要: 首先cd进一个目录下 tauch tset.sh //新建一个test.sh文件 vim test.sh 编辑脚本 i 插入 #!/bin/bash data 按Esc键 再按ctrl+: wq + Enter ls -l test.sh //查看文件权限 -rw-rw-r-- 1 elastics 阅读全文

posted @ 2018-02-08 14:32 和风细雨汪汪 阅读(194) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页