From 3e07c6ff54ea8b122775b68c92a867eabe81639c Mon Sep 17 00:00:00 2001 From: Kuaaaly Date: Thu, 15 Feb 2018 15:40:54 +0100 Subject: [PATCH] Change "tweet" type to "_doc" (#28690) Elasticsearch 6.x indices do not allow multiple types index. Instead, they use "_doc" as default if created internally (Elasticsearch), or "doc" default if sent by Logstash. --- docs/reference/docs/get.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/docs/get.asciidoc b/docs/reference/docs/get.asciidoc index 81c4bc306b2..7bdac42f869 100644 --- a/docs/reference/docs/get.asciidoc +++ b/docs/reference/docs/get.asciidoc @@ -3,7 +3,7 @@ The get API allows to get a typed JSON document from the index based on its id. The following example gets a JSON document from an index called -twitter, under a type called tweet, with id valued 0: +twitter, under a type called _doc, with id valued 0: [source,js] --------------------------------------------------