摘要: 1. index 与 typeindex 相当于 mysql 的 database, type 相当于 table2. mappingmapping 相当于 mysql table 的列属性声明。ES 支持非常灵活的数据格式,即便某个属性并没有在mapping中声明,以后也能直接添加到 ES 中存储... 阅读全文
posted @ 2015-04-11 11:52 SangS 阅读(797) 评论(0) 推荐(0)
摘要: REST API 接口要求 requster json 的 lifeCycle 域只能填 YOUNG, OLD,对于其他的 lifeCycle,都要给 requester 返回 bad request 消息。public class DataCategory { LifeCycle lifeC... 阅读全文
posted @ 2015-04-11 10:43 SangS 阅读(6127) 评论(0) 推荐(0)