ElasticSearch 2.3.0 发布,分布式搜索引擎
欢迎加入运维网交流群:263444886>>> »3月30日,ElasticSearch官方发布了2.3.0版本。
版本主要针对Lucene 5.5.0开发,同时修复了大量的2.2版本的bug。
这次更新主要增加了三大特性:重建索引的API,通过查询API,和任务管理API。
Reindex API:通过单个命令从建所有的索引文档。POST _reindex { "source": { "index": "my_old_index" }, "dest": { "index": "my_new_index" } }Update-by-Query API:通过从建所以我们得到了查询更新索引的状态。 例如:
POST /twitter/_update_by_query?conflicts=proceed 返回:
{
"took" : 639,
"updated": 1235,
"batches": 13,
"version_conflicts": 2,
"failures" : [ ]
}
增加了任务管理接口:任务管理接口可以检索当前在群集上一个或多个节点上执行的任务的信息。
例如:
GET /_tasks
GET /_tasks?nodes=nodeId1,nodeId2
GET /_tasks?nodes=nodeId1,nodeId2&actions=cluster:*
下载地址:
Source code (zip)
Source code (tar.gz)
页:
[1]