SlideShare une entreprise Scribd logo
1  sur  28
Elasticsearch
Faculty of Electrical-Electronics And Computer Engineering
University of Aksaray 2017
By: Mahmoud Al-Rawy
ma91tx@gmail.com
https://sites.google.com/site/mahmoud91tx/home
ElasticSearch
 Objective
 What is Big data
 Scaling
 NOSQL
 ElasticSearch
 ElasticSearch Feachers
Big Data
 Is a data becomes difficult to process because of its size using traditional data
processing applications.
 Require "massively parallel software running on tens, hundreds, or even thousands
of servers"
Horizontal Scaling vs Vertical Scaling
 Scale Vertically
 Add resources to a single node in a system
 Enhance the server(more CPU, more RAM, etc).
 High availability difficult to implement
 Scale Horizontally
 Add more nodes to a system.
 more servers, distributing the load
 High availability easy to implement
NOSQL && Why
 A NoSQL database provides a mechanism for storage and retrieval of data that is
modeled in means other than the tabular relations used in relational databases.
 Large volumes of structured, semi-structured, and unstructured data
 created in response to the limitations of traditional relational database technology
 Object-oriented programming that is easy to use and flexible
 Efficient, scale-out architecture instead of expensive, monolithic architecture
 The right data model: key-value, graph, wide column, or document models
Scalability: CAP Theorem
 Availability : Remains Accessible and operations at all time.
 Consistency: Commits are atomic across the entire distributed system(all nodes see
the same data at the same time).
 Partition Tolerance: Only a total network failure can cause the system to respond
incorrectly
Elasticsearch
 ElasticSearch is a free and open source distributed inverted index.
 Fast, incisive search against large volumes of data.
 Indexing documents to the repository
 Denormalized document storage: Fast, direct access to your data
 Broadly distributable and highly scalable.
Why Use ElasticSearch
 Incredibly fast search performance.
 Highly Scalable.
 Real time index/search
 REST Api with JSON
 Denormalized data store.
 Free schema
 High availability
 Written in java, build on top of apache lucene and open source
 Replace document stores like MongoDB, RavenDBWhat is Big data
Why Use ElasticSearch
RESTful API
 The Interact with elasticsearch bing through RESTful api. Using RESTful API JSON over
HTTP nearly any action can be performed.
 Using http
 Gets
 Posts
 Deletes
 Posts
 The Responses are always in JSON format.
Apache Lucene
 Apache Lucene is a high performance, full-featured Information Retrieval library,
written in Java.
 ElasticSearch uses Lucene internally to build its state of the art distributed search
and analytics capabilities.
 The relationship between Elasticsearch and Lucene, is like that of the relationship
between a car and its engine.
Query DSL
 The Query DSL is Elasticsearch's way of making Lucene's query syntax accessible
to users, allowing complex queries to be composed using a JSON syntax.
 Like Lucene, there are basic queries such as term or prefix queries and also
compound queries like the bool query.
Multi-Tenancy
 Multiple indexes can be stored on one Elasticsearch installation - node or cluster.
Each index can have multiple "types", which are essentially completely different
indexes.
 The best thing ever is querying multiple types and multiple indexes with one
simple query at breath taking speed.
Schema free
 ElasticSearch allows you to get started easily. Send a JSON document and it will
try to detect the data structure, index the data and make it searchable.
Document Oriented
 Store complex real world entities in ElasticSearch as structured JSON documents.
All fields are indexed by default
 Stores entire objects or documents
 Indexes the contents of each document in order to make them searchable
Create Index
Create Index
Create Index
Matching the Data
Matching the Data
Matching the Data
Partial Matching | Elasticsearch
Partial Matching | Elasticsearch
RDBMS SQL Query vs Elasticsearch Query
SQL Elasticsearch
Database Index
Partion Shared
Table Type
Row Document
Column Field
Schema Mapping
Index Everything is indexed
SQL Query DSL
RDBMS SQL Query vs Elasticsearch Query
RDBMS SQL Tables
RDBMS SQL Tables
Simple RDBMS Query

Contenu connexe

Tendances

Data munging and analysis
Data munging and analysisData munging and analysis
Data munging and analysis
Raminder Singh
 
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with SearchChicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
Lucidworks (Archived)
 
Cloud Bursting Stratos Webinar
Cloud Bursting Stratos WebinarCloud Bursting Stratos Webinar
Cloud Bursting Stratos Webinar
WSO2
 
Cloud bursting with Apache Stratos
Cloud bursting with Apache StratosCloud bursting with Apache Stratos
Cloud bursting with Apache Stratos
WSO2
 
The big data technology landscape-V.Janaki-II-M.Sc computer Science
The big data technology landscape-V.Janaki-II-M.Sc computer ScienceThe big data technology landscape-V.Janaki-II-M.Sc computer Science
The big data technology landscape-V.Janaki-II-M.Sc computer Science
karthikasivakumar3
 

Tendances (20)

Survey on NoSQL integration
Survey on NoSQL integrationSurvey on NoSQL integration
Survey on NoSQL integration
 
NoSQL(NOT ONLY SQL)
NoSQL(NOT ONLY SQL)NoSQL(NOT ONLY SQL)
NoSQL(NOT ONLY SQL)
 
grlc Makes GitHub Taste Like Linked Data APIs
grlc Makes GitHub Taste Like Linked Data APIsgrlc Makes GitHub Taste Like Linked Data APIs
grlc Makes GitHub Taste Like Linked Data APIs
 
Data munging and analysis
Data munging and analysisData munging and analysis
Data munging and analysis
 
Elastic Stack ELK, Beats, and Cloud
Elastic Stack ELK, Beats, and CloudElastic Stack ELK, Beats, and Cloud
Elastic Stack ELK, Beats, and Cloud
 
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with SearchChicago Solr Meetup - June 10th: Exploring Hadoop with Search
Chicago Solr Meetup - June 10th: Exploring Hadoop with Search
 
Elasticsearch tuning
Elasticsearch tuningElasticsearch tuning
Elasticsearch tuning
 
Searching Relational Data with Elasticsearch
Searching Relational Data with ElasticsearchSearching Relational Data with Elasticsearch
Searching Relational Data with Elasticsearch
 
Globus for Data Management: 2014 Joint Facility User Forum
Globus for Data Management: 2014 Joint Facility User ForumGlobus for Data Management: 2014 Joint Facility User Forum
Globus for Data Management: 2014 Joint Facility User Forum
 
How to run Elasticsearch on Azure in just a few minutes
How to run Elasticsearch on Azure in just a few minutesHow to run Elasticsearch on Azure in just a few minutes
How to run Elasticsearch on Azure in just a few minutes
 
Cloud Bursting Stratos Webinar
Cloud Bursting Stratos WebinarCloud Bursting Stratos Webinar
Cloud Bursting Stratos Webinar
 
Connect Your Resources, Save Time, Save Money:: Connecting library electron...
Connect Your Resources, Save Time, Save Money:: Connecting library  electron...Connect Your Resources, Save Time, Save Money:: Connecting library  electron...
Connect Your Resources, Save Time, Save Money:: Connecting library electron...
 
Introduction of Redis as NoSQL Database
Introduction of Redis as NoSQL DatabaseIntroduction of Redis as NoSQL Database
Introduction of Redis as NoSQL Database
 
Meetup#4, Apache Spark as SQL Engine
Meetup#4, Apache Spark as SQL Engine Meetup#4, Apache Spark as SQL Engine
Meetup#4, Apache Spark as SQL Engine
 
Lighthouse - an open-source library to build data lakes - Kris Peeters
Lighthouse - an open-source library to build data lakes - Kris PeetersLighthouse - an open-source library to build data lakes - Kris Peeters
Lighthouse - an open-source library to build data lakes - Kris Peeters
 
Cloud bursting with Apache Stratos
Cloud bursting with Apache StratosCloud bursting with Apache Stratos
Cloud bursting with Apache Stratos
 
The big data technology landscape-V.Janaki-II-M.Sc computer Science
The big data technology landscape-V.Janaki-II-M.Sc computer ScienceThe big data technology landscape-V.Janaki-II-M.Sc computer Science
The big data technology landscape-V.Janaki-II-M.Sc computer Science
 
An introduction to cloud computing with Amazon Web Services and MongoDB
An introduction to cloud computing with Amazon Web Services and MongoDBAn introduction to cloud computing with Amazon Web Services and MongoDB
An introduction to cloud computing with Amazon Web Services and MongoDB
 
Sept 24 NISO Virtual Conference: Library Data in the Cloud
Sept 24 NISO Virtual Conference: Library Data in the CloudSept 24 NISO Virtual Conference: Library Data in the Cloud
Sept 24 NISO Virtual Conference: Library Data in the Cloud
 
Elasticsearch in Production (London version)
Elasticsearch in Production (London version)Elasticsearch in Production (London version)
Elasticsearch in Production (London version)
 

Similaire à Elastic search

Similaire à Elastic search (20)

Elastic search overview
Elastic search overviewElastic search overview
Elastic search overview
 
Elasticsearch for beginners
Elasticsearch for beginnersElasticsearch for beginners
Elasticsearch for beginners
 
The Power of Elasticsearch
The Power of ElasticsearchThe Power of Elasticsearch
The Power of Elasticsearch
 
ElasticSearch Basic Introduction
ElasticSearch Basic IntroductionElasticSearch Basic Introduction
ElasticSearch Basic Introduction
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Deep dive to ElasticSearch - معرفی ابزار جستجوی الاستیکی
Deep dive to ElasticSearch - معرفی ابزار جستجوی الاستیکیDeep dive to ElasticSearch - معرفی ابزار جستجوی الاستیکی
Deep dive to ElasticSearch - معرفی ابزار جستجوی الاستیکی
 
Explore Elasticsearch and Why It’s Worth Using
Explore Elasticsearch and Why It’s Worth UsingExplore Elasticsearch and Why It’s Worth Using
Explore Elasticsearch and Why It’s Worth Using
 
Elastic Search Capability Presentation.pptx
Elastic Search Capability Presentation.pptxElastic Search Capability Presentation.pptx
Elastic Search Capability Presentation.pptx
 
ElasticSearch Getting Started
ElasticSearch Getting StartedElasticSearch Getting Started
ElasticSearch Getting Started
 
Elasticsearch
ElasticsearchElasticsearch
Elasticsearch
 
Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...
 
ElasticSearch in Production: lessons learned
ElasticSearch in Production: lessons learnedElasticSearch in Production: lessons learned
ElasticSearch in Production: lessons learned
 
Elasticsearch and Spark
Elasticsearch and SparkElasticsearch and Spark
Elasticsearch and Spark
 
Introduction to elasticsearch
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearch
 
No sql databases
No sql databasesNo sql databases
No sql databases
 
Perl and Elasticsearch
Perl and ElasticsearchPerl and Elasticsearch
Perl and Elasticsearch
 
Wanna search? Piece of cake!
Wanna search? Piece of cake!Wanna search? Piece of cake!
Wanna search? Piece of cake!
 
Elasticsearch: An Overview
Elasticsearch: An OverviewElasticsearch: An Overview
Elasticsearch: An Overview
 
Elasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparisonElasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparison
 
Elastic search
Elastic searchElastic search
Elastic search
 

Dernier

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
MarinCaroMartnezBerg
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
amitlee9823
 

Dernier (20)

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 

Elastic search

  • 1. Elasticsearch Faculty of Electrical-Electronics And Computer Engineering University of Aksaray 2017 By: Mahmoud Al-Rawy ma91tx@gmail.com https://sites.google.com/site/mahmoud91tx/home
  • 2. ElasticSearch  Objective  What is Big data  Scaling  NOSQL  ElasticSearch  ElasticSearch Feachers
  • 3. Big Data  Is a data becomes difficult to process because of its size using traditional data processing applications.  Require "massively parallel software running on tens, hundreds, or even thousands of servers"
  • 4. Horizontal Scaling vs Vertical Scaling  Scale Vertically  Add resources to a single node in a system  Enhance the server(more CPU, more RAM, etc).  High availability difficult to implement  Scale Horizontally  Add more nodes to a system.  more servers, distributing the load  High availability easy to implement
  • 5. NOSQL && Why  A NoSQL database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases.  Large volumes of structured, semi-structured, and unstructured data  created in response to the limitations of traditional relational database technology  Object-oriented programming that is easy to use and flexible  Efficient, scale-out architecture instead of expensive, monolithic architecture  The right data model: key-value, graph, wide column, or document models
  • 6. Scalability: CAP Theorem  Availability : Remains Accessible and operations at all time.  Consistency: Commits are atomic across the entire distributed system(all nodes see the same data at the same time).  Partition Tolerance: Only a total network failure can cause the system to respond incorrectly
  • 7. Elasticsearch  ElasticSearch is a free and open source distributed inverted index.  Fast, incisive search against large volumes of data.  Indexing documents to the repository  Denormalized document storage: Fast, direct access to your data  Broadly distributable and highly scalable.
  • 8. Why Use ElasticSearch  Incredibly fast search performance.  Highly Scalable.  Real time index/search  REST Api with JSON  Denormalized data store.  Free schema  High availability  Written in java, build on top of apache lucene and open source  Replace document stores like MongoDB, RavenDBWhat is Big data
  • 10. RESTful API  The Interact with elasticsearch bing through RESTful api. Using RESTful API JSON over HTTP nearly any action can be performed.  Using http  Gets  Posts  Deletes  Posts  The Responses are always in JSON format.
  • 11. Apache Lucene  Apache Lucene is a high performance, full-featured Information Retrieval library, written in Java.  ElasticSearch uses Lucene internally to build its state of the art distributed search and analytics capabilities.  The relationship between Elasticsearch and Lucene, is like that of the relationship between a car and its engine.
  • 12. Query DSL  The Query DSL is Elasticsearch's way of making Lucene's query syntax accessible to users, allowing complex queries to be composed using a JSON syntax.  Like Lucene, there are basic queries such as term or prefix queries and also compound queries like the bool query.
  • 13. Multi-Tenancy  Multiple indexes can be stored on one Elasticsearch installation - node or cluster. Each index can have multiple "types", which are essentially completely different indexes.  The best thing ever is querying multiple types and multiple indexes with one simple query at breath taking speed.
  • 14. Schema free  ElasticSearch allows you to get started easily. Send a JSON document and it will try to detect the data structure, index the data and make it searchable.
  • 15. Document Oriented  Store complex real world entities in ElasticSearch as structured JSON documents. All fields are indexed by default  Stores entire objects or documents  Indexes the contents of each document in order to make them searchable
  • 22. Partial Matching | Elasticsearch
  • 23. Partial Matching | Elasticsearch
  • 24. RDBMS SQL Query vs Elasticsearch Query SQL Elasticsearch Database Index Partion Shared Table Type Row Document Column Field Schema Mapping Index Everything is indexed SQL Query DSL
  • 25. RDBMS SQL Query vs Elasticsearch Query