ElasticSearch Getting Started

Preview:

Citation preview

Onuralp Taner

@onuralptanergithub.com/onuralp

Why We NeedWhy We Need

PerformanceNo LockingAuto Scale up / downFull Text SearchEasy To Use

Case StudiesCase Studies

Usage Statistics

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

what is elastic search?what is elastic search?

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

DocumentDocument

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

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

Key FeaturesKey Features

distributedhigh availabilitymulti tenancyfull text searchdocument orientedschema freerestful

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.

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.

Auto Scale Up / DownAuto Scale Up / Down

high availabilityhigh availability

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

Multi TenancyMulti Tenancy

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

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.

How It worksHow It works

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.

Schema FreeSchema Free

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

RESTful APIRESTful API

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

GET, POST, PUT, DELETE

Easy To UseEasy To Use

Head Plug-inHead Plug-in

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

MarvelMarvel

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

deploymentdeployment

SenseSense

A JSON aware developer's interface to ElasticSearch.

ElasticSearch As a ServiceElasticSearch As a Service

Let's TryLet's Try

QuestionsQuestions

ThanksThanks

Recommended