Can't create two Types to same index elasticsearch & Kibana

后端 未结 2 1433
温柔的废话
温柔的废话 2020-12-16 10:48

I\'m new in elasticsearch and kibana

I\'m doing some exercices with elasticsearch (create index,types and documents..)

I created an index \'business\' with

2条回答
  •  無奈伤痛
    2020-12-16 11:29

    see https://www.elastic.co/guide/en/elasticsearch/reference/6.2/removal-of-types.html for more.

    Elasticsearch 6.x Indices created in 6.x only allow a single-type per index. Any name can be used for the type, but there can be only one. The preferred type name is _doc, so that index APIs have the same path as they will have in 7.0: PUT {index}/_doc/{id} and POST {index}/_doc

提交回复
热议问题