跟小D每日学口语
摘要: 翻译:潘飞(tinylambda@gmail.com)基础概念 Elasticsearch有几个核心概念。从一开始理解这些概念会对整个学习过程有莫大的帮助。 接近实时(NRT) Elasticsearch是一个接近实时的搜索平台。这意味着,从索引一个文档直到这个文档能够被搜索到有一个轻微的... 阅读全文
posted @ 2015-01-06 16:55 Danny Chen 阅读(3482) 评论(1) 推荐(0) 编辑
摘要: 以下是eleasticsearch返回的json資料:{"took" : 12,"timed_out" : false,"_shards" : {"total" : 5,"successful" : 5,"failed" : 0},"hits" : {"total" : 8,"max_score" ... 阅读全文
posted @ 2015-01-06 16:47 Danny Chen 阅读(1787) 评论(0) 推荐(0) 编辑
摘要: //官方的phpapi写的鸡肋了,下面这个类可以使用esapi操作.[php]view plaincopyprint?server=$server;}functioncall($path,$http=array()){if(!$this->index)thrownewException('$this... 阅读全文
posted @ 2015-01-06 15:51 Danny Chen 阅读(1815) 评论(0) 推荐(0) 编辑
摘要: 1.curl192.168.106.58:9200/_cat/health?v 集群健康查看epoch timestamp cluster status node.total node.data shards pri relo init unassign1400639131 10:25:3... 阅读全文
posted @ 2015-01-06 12:22 Danny Chen 阅读(6282) 评论(0) 推荐(0) 编辑