• Save
Elastic search introduction
Upcoming SlideShare
Loading in...5
×
 

Elastic search introduction

on

  • 2,565 views

 

Statistics

Views

Total Views
2,565
Slideshare-icon Views on SlideShare
2,553
Embed Views
12

Actions

Likes
9
Downloads
0
Comments
0

3 Embeds 12

http://s.medcl.net 6
http://s.medcl.com 5
http://darya-ld1.linkedin.biz 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Elastic search introduction Elastic search introduction Presentation Transcript

    • By Jackson dos Santos @cyber_jso Elastic Search
    • ElasticSearch is a powerful open source distributed search engine
    •  
    •  
    •  
    •  
    • 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
    • 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 }'
    •  
    • curl -XGET http://localhost:9200/elasticsearch/gayfish/_search?pretty=true -d '{ "filter" : { "range" : { "age" : { "from" : "23", "to" : "34", "include_lower" : true, "include_upper" : false } } } }'
    • 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 } }'
    •  
    •  
    •  
    • Thank You! By Jackson dos Santos @cyber_jso