Browse files

update readme

  • Loading branch information...
1 parent 0794c80 commit 3e126005209e47c3a2d3ec29c596a4a404d16838 @kimchy kimchy committed Apr 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.textile
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):
-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:
-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 '

0 comments on commit 3e12600

Please sign in to comment.