8 Introducing search

This chapter covers

  • Fundamentals of search
  • Types of search methods
  • Introduction to Query DSL
  • Common search features

It is time to enter the world of search. So far, we’ve looked at priming Elasticsearch with data, and the last chapter discussed the mechanics of how text fields are analyzed. We got a taste of searching data using a set of queries, but we didn’t look at searching in depth or the nitty-gritty of search variants. Chapters 8 through 12 are dedicated to search.

Search is the core functionality of Elasticsearch and answers user queries efficiently and effectively. Once data is indexed and available for search, users can ask various questions. For example, if our fictitious online bookstore’s website search is ...

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.