原文https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
实验 PUT /account/时出错
错误
在ElasticSearch中,不同的index是相互独立的;但mapping type中的type 不是独立的(基于lucene原理:不同mapping type中相同type是同一个),因此,为了提升lucene的效率及索引分片的利用率,移出mapping type中的不同类型,改为相同类型
PUT /account/_doc/person
改为