Elastic search introduction

  • 2,087 views
Uploaded on

 

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,087
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
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