elasticsearch - jordi · pdf file5 elasticsearch whatiselasticsearchfor?...
TRANSCRIPT
Cloud Computing
& Big Data
FIB-UPC Master MEI
ElasticSearch
Nacho ValenciaDecember-2012
2
ElasticSearch
Introduction
•Cloud Computing
•Big Data
•Apache Lucene
•REST
3
ElasticSearch
The problem
•Shay Banon
•Engine Framework
•Compass Project
SCALABILITY??
4
ElasticSearch
What is ElasticSearch?
•Distributed
•RESTful
•Free/open source SEARCH SERVER
•Based on Apache Lucene
•Developed in Java
•By Shay Banon
5
ElasticSearch
What is ElasticSearch for?
•Search all kind of documents
•Scalable search solution
•Near real-time search
•Support for multitenancy
•“ElasticSearch is distributed, which means that indices can be
divided into shards and each shard can have zero or more replicas. Each node hosts one or more shards, and acts as a coordinator to delegate operations to the correct shard(s). Rebalancing and routing are done automatically”
6
ElasticSearch
Big Data?
• Search a word
on a book
7
ElasticSearch
How it works?
•Simple
•Fast
•Linux or Mac environment
•Perfect for try at Amazon AWS EC2 :)
•Tries to make all features available through JSON and JAVA API
8
ElasticSearch
Demo
•Download and Start elasticsearch
9
ElasticSearch
Demo
•Check it’s running OK
10
ElasticSearch
Demo
•Index some data like user name, or posts in a blog
11
ElasticSearch
Demo
•We check operations were succesfull
12
ElasticSearch
Demo
•We check operations were succesfull
13
ElasticSearch
Demo
•Let’s search!
14
ElasticSearch
Demo
15
ElasticSearch
Demo
16
ElasticSearch
More info
• www.elasticsearch.org
• www.elasticsearch.com
• en.wikipedia.org/wiki/elasticsearch
• stackoverflow.com/questions/10213009/solr-vs-elasticsearch
• blog.socialcast.com/realtime-search-solr-vs-elasticsearch
• www.elasticsearchtutorial.com
• https://s3-eu-west-1.amazonaws.com/cc-mei/presentacion/CC-MEI-elasticsearch-ignaciovalencia.pdf
17
ElasticSearch
Questions?