O'Reilly logo

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

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 2. Diving into the functionality

This chapter covers

  • Defining documents, types, and indices
  • Understanding Elasticsearch nodes and primary and replica shards
  • Indexing documents with cURL and a data set
  • Searching and retrieving data
  • Setting Elasticsearch configuration options
  • Working with multiple nodes

Now you know what kind of search engine Elasticsearch is, and you’ve seen some of its main features in chapter 1. Let’s switch to the practical side and see how it does what it’s good at. Imagine you’re tasked with creating a way to search through millions of documents, like a website that allows people to build common interest groups and get together. In this case, documents could be the get-together groups, individual events. You need ...

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