From 612e95a3214052004eaa60a564e2aaf22f0dc8e0 Mon Sep 17 00:00:00 2001 From: Binh Ly Date: Wed, 26 Feb 2014 14:01:59 -0500 Subject: [PATCH] [DOCS] Java API JSON typo --- docs/java-api/index_.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/java-api/index_.asciidoc b/docs/java-api/index_.asciidoc index 0ba4542ffe1..5ad9ef508c5 100644 --- a/docs/java-api/index_.asciidoc +++ b/docs/java-api/index_.asciidoc @@ -37,7 +37,7 @@ dates regarding to the String json = "{" + "\"user\":\"kimchy\"," + "\"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 = "{" + "\"user\":\"kimchy\"," + "\"postDate\":\"2013-01-30\"," + - "\"message\":\"trying out Elasticsearch\"," + + "\"message\":\"trying out Elasticsearch\"" + "}"; IndexResponse response = client.prepareIndex("twitter", "tweet")