Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update readme

  • Loading branch information...
commit 3e126005209e47c3a2d3ec29c596a4a404d16838 1 parent 0794c80
@kimchy kimchy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.textile
View
4 README.textile
@@ -46,7 +46,7 @@ h3. Indexing
Lets try and index some twitter like information. First, lets create a twitter user, and add some tweets (the @twitter@ index will be created automatically):
<pre>
-curl -XPUT 'http://localhost:9200/twitter/user/kimchy' -d '{ name: "Shay Banon" }'
+curl -XPUT 'http://localhost:9200/twitter/user/kimchy' -d '{ "name" : "Shay Banon" }'
curl -XPUT 'http://localhost:9200/twitter/tweet/1' -d '
{
@@ -126,7 +126,7 @@ ElasticSearch support multiple indices, as well as multiple types per index. In
Another way to define our simple twitter system is to have a different index per user. Here is the indexing curl's in this case:
<pre>
-curl -XPUT 'http://localhost:9200/kimchy/info/1' -d '{ name: "Shay Banon" }'
+curl -XPUT 'http://localhost:9200/kimchy/info/1' -d '{ "name" : "Shay Banon" }'
curl -XPUT 'http://localhost:9200/kimchy/tweet/1' -d '
{
Please sign in to comment.
Something went wrong with that request. Please try again.