Elasticsearch for dummies Jakub Kluvnek - - PowerPoint PPT Presentation

elasticsearch for dummies
SMART_READER_LITE
LIVE PREVIEW

Elasticsearch for dummies Jakub Kluvnek - - PowerPoint PPT Presentation

Elasticsearch for dummies Jakub Kluvnek jakub.kluvanek@biddingfox.com @kluvi, @biddingfox_devs WTF database RESTful search and analytics engine APIs Index API Bulk API Get API Reindex API Delete API Multi


slide-1
SLIDE 1

Jakub Kluvánek jakub.kluvanek@biddingfox.com @kluvi, @biddingfox_devs

Elasticsearch for dummies

slide-2
SLIDE 2

WTF

slide-3
SLIDE 3

database

slide-4
SLIDE 4

RESTful search and analytics engine

slide-5
SLIDE 5

APIs

  • Bulk API
  • Reindex API
  • Multi termvectors

API

  • ...
  • Index API
  • Get API
  • Delete API
  • Delete by query API
  • Update API
slide-6
SLIDE 6

rows documents

slide-7
SLIDE 7

Parts

  • cluster
  • node
  • index
  • mapping
  • shard
  • segment
  • document
  • field
  • subfield
slide-8
SLIDE 8

denormalize everything

slide-9
SLIDE 9

realtime NRT

https://www.elastic.co/guide/en/elasticsearch/reference/current/_basic_concepts.html#_near_realtime_nrt

slide-10
SLIDE 10

Data loss

  • index-time (queues)
  • failed shard
  • duplicity
slide-11
SLIDE 11

index allocation

https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-allocation-filtering.html

slide-12
SLIDE 12

Mapping

  • text, keyword
  • long, integer, short, byte, double, float,

half_float, scaled_float

  • date
  • boolean
slide-13
SLIDE 13

Mapping

  • binary
  • integer_range, float_range,...
  • object, array, nested
  • geo_point, geo_shape
  • ...

https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html

slide-14
SLIDE 14

Mapping update

  • multi-index
  • reindex
  • update
slide-15
SLIDE 15

Search API

  • query/filter
  • match
  • bool
  • term
  • range
  • exists
  • ids

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html

slide-16
SLIDE 16

Aggregations

  • metrics (sum, max, min, stats,...)
  • buckets (terms, histogram, range,...)
  • pipeline (max bucket, stats bucket,...)

https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html

slide-17
SLIDE 17

Aggregations

  • nesting
  • partitioning
slide-18
SLIDE 18

Update API

  • update vs index API
  • painless
  • stored scripts

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html

slide-19
SLIDE 19

Bulk API

  • multi-index
  • multi-operation
  • MUST-HAVE!

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

slide-20
SLIDE 20

document versioning

slide-21
SLIDE 21

scrolling

slide-22
SLIDE 22

routing

slide-23
SLIDE 23

scalability

slide-24
SLIDE 24

authorization

slide-25
SLIDE 25

backups

slide-26
SLIDE 26

GUIs

  • Kibana
  • Cerebro
slide-27
SLIDE 27

ELK stack

slide-28
SLIDE 28

ELKB (Elastic) stack

slide-29
SLIDE 29

školení ?

slide-30
SLIDE 30

Otázky?

slide-31
SLIDE 31

Jakub Kluvánek jakub.kluvanek@biddingfox.com @kluvi, @biddingfox_devs