Interview knowledge

ElasticSearch

Growingest.Started 31 Aug 20261 min read#engineering#database

Inspired by System Design Interview: Design Ticketmaster w/ a Ex-Meta Staff Engineer

Where it sits: Search

It builds an inverted index to make searching documents by terms quickly. Example:
taylor: (event1, event2)

Tokenization in Elasticsearch is the process of breaking a stream of text characters down into smaller, individual chunks called tokens (usually single words)

Elastic search is not recommended as primary database. Doesn't handle transactions complex really well

Don't forget elastic search on Aws is open search.

Open search has a top query lru cache option for hot terms

Sources