mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
parent
41507cff48
commit
97bba08ea6
@ -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 `_doc``, with id valued 1:
|
||||
twitter, under a type called `_doc`, with id valued 1:
|
||||
|
||||
[source,java]
|
||||
--------------------------------------------------
|
||||
|
@ -113,7 +113,7 @@ String json = Strings.toString(builder);
|
||||
==== Index document
|
||||
|
||||
The following example indexes a JSON document into an index called
|
||||
twitter, under a type called `_doc``, with id valued 1:
|
||||
twitter, under a type called `_doc`, with id valued 1:
|
||||
|
||||
[source,java]
|
||||
--------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user