3 Architecture

This chapter covers

  • High-level architecture and Elasticsearch’s building blocks
  • Search and indexing mechanics
  • Understanding how an inverted index works
  • Relevancy and similarity algorithms
  • Routing algorithms

In chapter 2, we played with fundamental Elasticsearch features: we indexed documents, executed search queries, walked through analytical functions, and more. We briefly played with the server, without knowing much about its internals. The good news is that we don’t need to break a sweat to get started with Elasticsearch. It is easy to use at a simple level but takes time to master.

Of course, Elasticsearch, like any other search engine, requires deep dives to become a master of the technology. That said, the product is designed ...

Get Elasticsearch in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.