Chapter 4. Searching your data

This chapter covers

  • The structure of an Elasticsearch search request and response
  • Elasticsearch filters and how they differ from queries
  • Filter bitsets and caching
  • Using queries and filters that Elasticsearch supports

Now that we’ve explored how you get data into Elasticsearch, let’s cover how you get data out of Elasticsearch: by searching. After all, what good is indexing your data into a search engine if you can’t search through it? Fortunately, Elasticsearch provides a rich API for searching through data, running the gamut of Lucene’s search capability. Because of the format Elasticsearch allows for constructing search requests, there are limitless possibilities for how they can be built. The best way to ...

Get Elasticsearch in Action 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.