35
Onuralp Taner @onuralptaner github.com/onuralp

ElasticSearch Getting Started

Embed Size (px)

Citation preview

Page 1: ElasticSearch Getting Started

Onuralp Taner

@onuralptanergithub.com/onuralp

Page 2: ElasticSearch Getting Started

Why We NeedWhy We Need

PerformanceNo LockingAuto Scale up / downFull Text SearchEasy To Use

Page 3: ElasticSearch Getting Started
Page 4: ElasticSearch Getting Started

Case StudiesCase Studies

Page 5: ElasticSearch Getting Started
Page 6: ElasticSearch Getting Started

Usage Statistics

source: http://www.elastichq.org/elasticsearchstats.php

Page 7: ElasticSearch Getting Started

what is elastic search?what is elastic search?

Elasticsearch is a highly available, highly customizable and distributedsearch engine.

Page 8: ElasticSearch Getting Started

DocumentDocument

Json ObjectCore filed types (String, Numbers, Booleans)Complex field types (Arrays, Objects)Additional filed types (GeoPoints, Biniaries,)

Page 9: ElasticSearch Getting Started

NodeNodea running ElasticSearch instance (JVM)

ClusterClustera group of nodes

ShardSharda part of an indexa Luvene index under the hoodprimary: unique in the clusterreplica: one or more copy of the primary

Page 10: ElasticSearch Getting Started

Key FeaturesKey Features

distributedhigh availabilitymulti tenancyfull text searchdocument orientedschema freerestful

Page 11: ElasticSearch Getting Started

build on top of apache lucenebuild on top of apache lucene

Apache Lucene is a high performance, full-featured Information Retrievallibrary, written in Java. Elasticsearch uses Lucene internally to build its

state of the art distributed search and analytics capabilities.

Page 12: ElasticSearch Getting Started

DistributedDistributed

Start small, but will grow with your business. It is built to scale horizontallyout of the box. As you need more capacity, just add more nodes, and let

the cluster reorganize itself.

Page 13: ElasticSearch Getting Started

Auto Scale Up / DownAuto Scale Up / Down

Page 14: ElasticSearch Getting Started

high availabilityhigh availability

They will detect and remove failed nodes, and reorganize themselves.

Page 15: ElasticSearch Getting Started

Multi TenancyMulti Tenancy

A cluster can host multiple indices which can be queried independently oras a group

Page 16: ElasticSearch Getting Started

Full Text SearchFull Text Search

Search comes with multi-language support, a powerful query language,support for geolocation, context aware did-you-mean suggestions,

autocomplete and search snippets.

Page 17: ElasticSearch Getting Started

How It worksHow It works

Page 18: ElasticSearch Getting Started

Document OrientedDocument Oriented

Store complex real world entities in Elasticsearch as structured JSONdocuments. All fields are indexed by default, and all the indices can be

used in a single query, to return results at breath taking speed.

Page 19: ElasticSearch Getting Started

Schema FreeSchema Free

Toss it a JSON document and it will try to detect the data structure, indexthe data and make it searchable.

Page 20: ElasticSearch Getting Started

RESTful APIRESTful API

Almost any action can be performed using a simple RESTful API usingJSON over HTTP.

GET, POST, PUT, DELETE

Page 21: ElasticSearch Getting Started
Page 22: ElasticSearch Getting Started
Page 23: ElasticSearch Getting Started
Page 24: ElasticSearch Getting Started
Page 25: ElasticSearch Getting Started
Page 26: ElasticSearch Getting Started
Page 27: ElasticSearch Getting Started
Page 28: ElasticSearch Getting Started

Easy To UseEasy To Use

Page 29: ElasticSearch Getting Started

Head Plug-inHead Plug-in

elasticsearch-head is a web front end for browsing and interacting with anElastic Search cluster.

Page 30: ElasticSearch Getting Started

MarvelMarvel

get complete transparency into the state of your elasticsearchget complete transparency into the state of your elasticsearch

deploymentdeployment

Page 31: ElasticSearch Getting Started

SenseSense

A JSON aware developer's interface to ElasticSearch.

Page 32: ElasticSearch Getting Started

ElasticSearch As a ServiceElasticSearch As a Service

Page 33: ElasticSearch Getting Started

Let's TryLet's Try

Page 34: ElasticSearch Getting Started

QuestionsQuestions

Page 35: ElasticSearch Getting Started

ThanksThanks