Skill Zuno · skillzunos.com · Fullstack
Elasticsearch interview questions
Prepare for Elasticsearch interviews on Skill Zuno. This practice book covers Elasticsearch interview questions across New, Easy, Medium, Hard, and Diff levels so you can work through real interview-style problems on skillzunos.com.
Open Elasticsearch on Skill ZunoAlso see the Elasticsearch tutorial.
Elasticsearch is a distributed search and analytics engine built on Apache Lucene. It powers full-text search, log analytics in the Elastic Stack, and vector search, using inverted indexes split across shards. Elasticsearch interviews cover mappings, analysers, relevance scoring, the Query DSL, aggregations, shard sizing and cluster health.
Sample Elasticsearch interview questions
What is an inverted index?
An inverted index maps each term to the list of documents that contain it, like the index at the back of a book. Searching for a word becomes a lookup instead of a scan of every document.
What is the difference between the text and keyword field types?
text is analysed into tokens for full-text search. keyword stores the exact value and is used for filters, sorting and aggregations. A common mapping indexes a string as both with a multi-field.
What is the difference between query context and filter context?
Query context asks how well a document matches and computes a relevance score. Filter context asks only yes or no, skips scoring and can be cached, so exact conditions belong in a bool filter.
What do red, yellow and green cluster health mean?
Green means all primary and replica shards are assigned. Yellow means all primaries are assigned but some replicas are not, which is normal on a single node. Red means at least one primary shard is unassigned and some data is unavailable.
Why is deep pagination with from and size a problem?
Each shard must collect from + size results and the coordinating node merges them, so cost grows with depth and is capped at 10,000 by default. Use search_after with a point-in-time for deep paging.
What you can practice
- Elasticsearch interview questions for beginners and experienced developers
- Level-based practice: New, Easy, Medium, Hard, and Diff
- Fullstack topics alongside Elasticsearch on skillzunos.com