参考:http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html
Download and install the Public Signing Key
rpm --imp...
分类:
其他好文 时间:
2015-01-08 21:26:40
阅读次数:
202
配置elasticsearch的存储路径为hdfs需要两步,安装插件 elasticsearch-hadoop,在联网的情况下在命令窗口运行:plugin -install elasticsearch/elasticsearch-hadoop/1.2.0即可。如果没有联网解压插件到plugins中即...
分类:
其他好文 时间:
2015-01-08 19:30:38
阅读次数:
404
Query DSLQuery DSL (资料来自: http://www.elasticsearch.cn/guide/reference/query-dsl/)http://elasticsearch.qiniudn.com/--简介--elasticsearch 提供基于JSON的完整的Quer...
分类:
其他好文 时间:
2015-01-08 19:30:00
阅读次数:
476
elasticsearch的config文件夹里面有两个配置文 件:elasticsearch.yml和logging.yml,第一个是es的基本配置文件,第二个是日志配置文件,es也是使用log4j来记录日 志的,所以logging.yml里的设置按普通log4j配置文件来设置就行了。下面主要讲解...
分类:
其他好文 时间:
2015-01-08 17:52:05
阅读次数:
126
1.ElasticSearch是什么 ElasticSearch 是一个基于Lucene构建的开源、分布式,RESTful搜索引擎。它的服务是为具有数据库和Web前端的应用程序提供附加的组件(即可搜索的存储库)。ElasticSearch为应用程序提供搜索算法和相关的基础架构,用户只需要将应用程序....
分类:
数据库 时间:
2015-01-07 18:41:27
阅读次数:
282
这里有一篇很好的文章,很不错,翻译和整理了一下,英文不错的,建议直接看原文:http://euphonious-intuition.com/2013/05/all-about-elasticsearch-filter-bitsets/elasticsearch里面有BOOLfilter、AND、OR...
分类:
其他好文 时间:
2015-01-07 18:21:24
阅读次数:
494
翻译:潘飞(tinylambda@gmail.com)基础概念 Elasticsearch有几个核心概念。从一开始理解这些概念会对整个学习过程有莫大的帮助。 接近实时(NRT) Elasticsearch是一个接近实时的搜索平台。这意味着,从索引一个文档直到这个文档能够被搜索到有一个轻微的...
分类:
其他好文 时间:
2015-01-06 19:46:03
阅读次数:
197
//官方的phpapi写的鸡肋了,下面这个类可以使用esapi操作.[php]view plaincopyprint?server=$server;}functioncall($path,$http=array()){if(!$this->index)thrownewException('$this...
以下是eleasticsearch返回的json資料:{"took" : 12,"timed_out" : false,"_shards" : {"total" : 5,"successful" : 5,"failed" : 0},"hits" : {"total" : 8,"max_score" ...
分类:
Web程序 时间:
2015-01-06 17:31:11
阅读次数:
163
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...
分类:
Web程序 时间:
2015-01-06 13:31:33
阅读次数:
285