一、集群健康API查看集群状态信息:curl
http://localhost:9200/_cluster/health;echo查看集群节点信息:curlhttp://localhost:9200/_nodes/stats/host?pretty
分类:
其他好文 时间:
2015-09-01 00:12:37
阅读次数:
174
IK分词源码下载地址:https://code.google.com/p/ik-analyzer/downloads/listlucene源码下载地址:http://www.eu.apache.org/dist/lucene/java/下载IK分词源码后,运行出现错误提示:Analyzer cann...
分类:
其他好文 时间:
2015-08-31 16:38:31
阅读次数:
554
Untrusted PatrolTime Limit:3 Seconds Memory Limit:65536 KBEdward is a rich man. He owns a large factory for health drink production. As a matter of co...
分类:
其他好文 时间:
2015-08-29 20:09:38
阅读次数:
215
spring-boot-actuator模块提供了一个监控和管理生产环境的模块,可以使用http、jmx、ssh、telnet等拉管理和监控应用。审计(Auditing)、
健康(health)、数据采集(metrics gathering)会自动加入到应用里面。...
分类:
编程语言 时间:
2015-08-28 13:20:41
阅读次数:
497
工作上,有需要对纯数字的字符串做分词,好像CJK二元分词器对这样的数字不会做分词,所以自己写了个分词器,分词器达到以下效果:对字符串"哈哈1234呵呵456",分词后为:1 12 123 1234 4 45 456 Analyzer: pack...
分类:
其他好文 时间:
2015-08-27 15:32:41
阅读次数:
303
Ceph radosgw 安装配置Ceph radosgw对象存储的接口,研究配置了许久,先分享如下。首先配置的前提是,你成功的配置了Ceph集群,通过ceph –s 查看ceph集群,处于health状态。在这里,我们这种集群的有个auth的配置为none,所以有关auth的部分也就是有关keying的,这里省略。1)创建rgw相关的pool
ceph osd pool create .rgw...
分类:
其他好文 时间:
2015-08-27 02:18:09
阅读次数:
1164
先给物体添加一个Collider组件(任意形状)。将Is Trigger选中。在绑定在此物体的脚本中添加方法:1 public void OnTriggerStay(Collider col) {2 if (col.tag == Tags.player &&health.hp>0...
分类:
其他好文 时间:
2015-08-25 23:05:36
阅读次数:
196
In 6.04, It resolve the BUG that error message will be prompted when executing a single long SQL script with more than thousands of line or the file size of single SQL script more than 200KB....
分类:
数据库 时间:
2015-08-20 09:12:27
阅读次数:
291
这个是solarwinds提供的一款免费的小工具,可以查看特定的域用户针对特定共享文件夹的权限是如何的,赋予了什么权限,没有赋予什么权限都可以获取出来。下载地址:DownloadFREEtrialsfromSolarWindshttp://www.solarwinds.com/register/registrationb.aspx?program=1323&c=..
分类:
其他好文 时间:
2015-08-20 06:54:14
阅读次数:
267