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

Get Elasticsearch in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.