elasticsearch for dummies
play

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


  1. Elasticsearch for dummies Jakub Kluvánek jakub.kluvanek@biddingfox.com @kluvi, @biddingfox_devs

  2. WTF

  3. database

  4. RESTful search and analytics engine

  5. APIs ● Index API ● Bulk API ● Get API ● Reindex API ● Delete API ● Multi termvectors ● Delete by query API API ● Update API ● ...

  6. rows documents

  7. Parts ● cluster ● segment ● node ● document ● index ● field ● mapping ● subfield ● shard

  8. denormalize everything

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

  10. Data loss ● index-time (queues) ● failed shard ● duplicity

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

  12. Mapping ● text, keyword ● long, integer, short, byte, double, float, half_float, scaled_float ● date ● boolean

  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

  14. Mapping update ● multi-index ● reindex ● update

  15. Search API ● query/filter ● range ● match ● exists ● bool ● ids ● term https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html

  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

  17. Aggregations ● nesting ● partitioning

  18. Update API ● update vs index API ● painless ● stored scripts https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html

  19. Bulk API ● multi-index ● multi-operation ● MUST-HAVE! https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html

  20. document versioning

  21. scrolling

  22. routing

  23. scalability

  24. authorization

  25. backups

  26. GUIs ● Kibana ● Cerebro

  27. ELK stack

  28. ELKB (Elastic) stack

  29. školení ?

  30. Otázky?

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

Recommend


More recommend