Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What's coming in Elasticsearch 5.0

What's coming in Elasticsearch 5.0

Talking at the Berlin Search UG on 26.05.2016 about some new features in the coming 5.0 release of Elasticsearch

Christoph Büscher

April 26, 2016
Tweet

More Decks by Christoph Büscher

Other Decks in Technology

Transcript

  1. 3 Versions across the stack es kibana ls beats Nov

    5, 2014
 1.4 May 23, 2015
 1.5 Jun 9, 2015
 1.6 Jul 16, 2015
 1.7 Feb 19, 2015
 4.0 Jun 10, 2015
 4.1 May 14, 2015
 1.5 May 27, 2015
 1.0 Beta 1 Jul 13, 2015
 1.0 Beta 2 Sep 4, 2015
 1.0 Beta 3
  2. ‹#› 7 POST _reindex { "src": { "index": "old_index", "query":

    { "match": { "user": "twitter" } } }, "dest": { "index": "new_index" } } Reindex (2.3)
  3. ‹#› 9 Update by Query (2.3) POST users/_update_by_query { "query":

    { "match": { "user": "twitter" } }, "script": "...." } 9
  4. ‹#› • GET /_tasks • monitoring of long running tasks

    • control, e.g. cancellation 10 Task Management (2.3)
  5. 12

  6. ‹#› 13 Ingest Node (5.0) Putting the power of Logstash

    filters inside an Elasticsearch node
  7. ‹#› 15 • enabled by default • you define pipelines

    • as series of processors Ingest Node (5.0)
  8. ‹#› 16 Painless Scripting (5.0) • fast • secure •

    single function only • groovy-like syntax • dynamic & static typing
  9. ‹#› • decouple server/client • minimize dependencies • first version

    targeted for 5.0 release 17 Java HTTP Client (5.0)
  10. ‹#› 19 • improves indexing of numeric field • faster

    indexing • less memory at search time Lucene 6 Multi-dimensional points

  11. NumericField vs PointField 20 0% 25% 50% 75% 100% Index

    Size Index Time Search Time Search Time Heap Usage 15% 76% 49% 49% 100% 100% 100% 100% NumericField PointField (Michael McCandless, https://www.elastic.co/blog/lucene-points-6.0)
  12. ‹#› String Mappings { "type": "text"} Full text field Full

    analysis chain Full text relevance 22 Text vs. Keyword
  13. ‹#› • strict validation • settings updates are atomic •

    reset to default • retrieve defaults 25 Settings
 Validation
  14. ‹#› • document oriented • respects deletes • boosting by:

    • context • geolocation 26 Completion
 Suggester v2
  15. 29 Further information • https://www.elastic.co/blog • Reindex: https://www.elastic.co/blog/reindex-is-coming • Multi-dimensional

    Points: https://www.elastic.co/blog/lucene-points-6.0 • Ingest node: https://www.elastic.co/elasticon/conf/2016/sf/ingest-node- enriching-documents-within-elasticsearch • Profile API https://www.elastic.co/guide/en/elasticsearch/reference/master/ search-profile.html • Task Management https://www.elastic.co/guide/en/elasticsearch/reference/ master/tasks.html • Pioneer Program https://www.elastic.co/blog/elastic-pioneer-program