mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
[DOCS] Java API JSON typo
This commit is contained in:
parent
0230ecbeac
commit
612e95a321
@ -37,7 +37,7 @@ dates regarding to the
|
|||||||
String json = "{" +
|
String json = "{" +
|
||||||
"\"user\":\"kimchy\"," +
|
"\"user\":\"kimchy\"," +
|
||||||
"\"postDate\":\"2013-01-30\"," +
|
"\"postDate\":\"2013-01-30\"," +
|
||||||
"\"message\":\"trying out Elasticsearch\"," +
|
"\"message\":\"trying out Elasticsearch\"" +
|
||||||
"}";
|
"}";
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ don't have to give an ID:
|
|||||||
String json = "{" +
|
String json = "{" +
|
||||||
"\"user\":\"kimchy\"," +
|
"\"user\":\"kimchy\"," +
|
||||||
"\"postDate\":\"2013-01-30\"," +
|
"\"postDate\":\"2013-01-30\"," +
|
||||||
"\"message\":\"trying out Elasticsearch\"," +
|
"\"message\":\"trying out Elasticsearch\"" +
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
IndexResponse response = client.prepareIndex("twitter", "tweet")
|
IndexResponse response = client.prepareIndex("twitter", "tweet")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user