elasticsearch from the bottom up

82
Elasticsearch from the Bottom Up Njal Karevoll [email protected] @nkvoll

Upload: foundsearch

Post on 21-Aug-2015

1.224 views

Category:

Data & Analytics


5 download

TRANSCRIPT

  1. 1. Elasticsearchfrom the Bottom UpNjal [email protected]@nkvoll
  2. 2. Elasticsearchfrom the Bottom UpNjal [email protected]@nkvoll
  3. 3. Who?Co-founder of Found AS - Hosted Elasticsearch: found.no8+ years search, 3+ ElasticsearchHerding hundreds of Elasticsearch clusters
  4. 4. Motivation Why isn't my search for *foo-bar* matching foo-bar"? Why can adding more documents shrink the index? Why is Elasticsearch using so much memory?
  5. 5. Segments are immutable
  6. 6. Deletes?
  7. 7. Compress all the things!
  8. 8. Cache all the things!
  9. 9. Search by index termsText analysis gives us terms
  10. 10. Search by segmentUses several data structures
  11. 11. Immutable segments
  12. 12. Shard == Lucene Index
  13. 13. Elasticsearch Indexabstracts Lucene Indexes
  14. 14. across nodes in a cluster
  15. 15. Learn More!found.no/foundationFollow@foundsays