Skip to content

Commit 4465fa8

Browse files
quentin-legraverendbleskes
authored andcommitted
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.
1 parent 486468e commit 4465fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/docs/get.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
The get API allows to get a typed JSON document from the index based on
55
its id. The following example gets a JSON document from an index called
6-
twitter, under a type called tweet, with id valued 0:
6+
twitter, under a type called _doc, with id valued 0:
77

88
[source,js]
99
--------------------------------------------------

0 commit comments

Comments
 (0)