Stretching .NET

An Introduction to ElasticSearch

elasticsearch.seankilleen.com

Some Love

Hi! 👋 I'm Sean

Let's Find a Car

The Traditional Approach

Enter ElasticSearch

< 300 ms

Our Walkthrough

Why elasticsearch

What we'll cover

Concept Walkthrough

How is ES Different?

Document DB

How is ES Different?

Inverted Index

How is ES Different?

Scalability

Think about the data

...like, a lot

Creating the Index

Concept Review

Node

Concept Review

Index

Concept Review

Type

Concept Review

Mapping

Concept Review

Multi-fields

Concept Review

Analyzers

Analyzer Pipeline

  • Input ("Hello THERE, world!")
  • Character Filters ("hello there world")
  • Tokenizer ([hello, there, world])
  • Token Filters ([hello, world])
  • Output

Concept Review

Nest ❤️ Lambdas

Adding Data

Concept Review

Surface Data Correctly

Concept Review

Indexing

Retrieving

Concept Review

Query

Concept Review

Filters

Concept Review

Aggregation

Searching

Concept Review

Paths

Concept Review

Boolean Filters

Concept Review

Encapsulating NEST

What-if searches

Concept Review

Cheap Searches == Opportunity

So much more

  • Clustering
  • Logstash (operations)
  • Kibana (visualization)
  • X Pack (security, monitoring, ML)
  • Beats (shippers)

Thanks

Image credit: https://www.quora.com/What-is-inverted-index-It-is-a-well-known-fact-that-you-need-to-build-indexes-to-implement-efficient-searches-What-is-the-difference-between-index-and-inverted-index-and-how-does-one-build-inverted-index