Your SlideShare is downloading. ×
0
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Elastic search introduction
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Elastic search introduction

2,135

Published on

Published in: Technology, News & Politics
0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,135
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
9
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  1. By Jackson dos Santos @cyber_jso Elastic Search
  2. ElasticSearch is a powerful open source distributed search engine
  3.  
  4.  
  5.  
  6.  
  7. curl -XPUT http://localhost:9200/ elasticsearch /gayfish/1 -d '{ "gayfish_birthday": "2011-11-15T14:12:12", "prefered_os": "MAC OS", "is_like_fish_sticks": "HE love s" }' elasticsearch is the index The rest are the parameters
  8. curl -XPUT http://localhost:9200/elasticsearch/gayfish/1 -d '{ "gayfish_name" : "Jeff", "gayfish_birthday": "2011-11-15", "prefered_os": "MAC OS", "is_like_fish_sticks": "HE loves", "age": 24 }'
  9.  
  10. curl -XGET http://localhost:9200/elasticsearch/gayfish/_search?pretty=true -d '{ "filter" : { "range" : { "age" : { "from" : "23", "to" : "34", "include_lower" : true, "include_upper" : false } } } }'
  11. curl -XPUT http://localhost:9200/elasticsearch/gayfish/3 -d '{ "gayfish_name" : "Diego", "gayfish_birthday": "2011-11-17", "prefered_os": "windows transvestite", "is_like_fish_sticks": "It_loves_but_doesnt_like_tell", "is_like_apple_things": "YES", "age": 26, "settings" : { "number_of_shards" : 2, "number_of_replicas" : 3 } }'
  12.  
  13.  
  14.  
  15. Thank You! By Jackson dos Santos @cyber_jso

×