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.
This commit is contained in:
parent
abe1e05ba4
commit
3e07c6ff54
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
The get API allows to get a typed JSON document from the index based on
|
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
|
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]
|
[source,js]
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue