Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Satendra Kumar committed May 8, 2016
1 parent 5ff0204 commit a8d334d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
1) Download elasticsearch from [here](https://www.elastic.co/downloads/elasticsearch)
2) Extract downloaded elasticsearch
3) cd elasticsearch-X.X.X
4) $ bin/elasticsearch
4) $ bin/elasticsearch

### Insert data into elasticsearch
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Satendra", "job":"consultant" , "location":"India", "age":28}'
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Rohit", "job":"consultant" , "location":"India", "age":22}'
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Mohit", "job":"consultant" , "location":"India", "age":25}'


### Run project
Expand Down

0 comments on commit a8d334d

Please sign in to comment.