O'Reilly logo

Elasticsearch in Action by Matthew Lee Hinman Radu Gheorghe and Roy Russo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required