Skip to content

Commit

Permalink
Change "tweet" type to "_doc" (#28690)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
quentin-legraverend authored and bleskes committed Feb 15, 2018
1 parent abe1e05 commit 3e07c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/docs/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
--------------------------------------------------
Expand Down

0 comments on commit 3e07c6f

Please sign in to comment.