Skip to content

Commit a8d334d

Browse files
author
Satendra Kumar
committed
update README
1 parent 5ff0204 commit a8d334d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
1) Download elasticsearch from [here](https://www.elastic.co/downloads/elasticsearch)
66
2) Extract downloaded elasticsearch
77
3) cd elasticsearch-X.X.X
8-
4) $ bin/elasticsearch
8+
4) $ bin/elasticsearch
9+
10+
### Insert data into elasticsearch
11+
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Satendra", "job":"consultant" , "location":"India", "age":28}'
12+
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Rohit", "job":"consultant" , "location":"India", "age":22}'
13+
$ curl -XPOST localhost:9200/test/tweet -d '{"name":"Mohit", "job":"consultant" , "location":"India", "age":25}'
914

1015

1116
### Run project

0 commit comments

Comments
 (0)