2 Getting started

This chapter covers

  • Indexing sample documents with Elasticsearch
  • Retrieving, deleting, and updating documents
  • Searching with basic to advanced queries
  • Running aggregations on data

This chapter is all about experiencing a taste of Elasticsearch. Elasticsearch is a Java binary that is available to download from the Elastic company’s website. Once the server is installed and up and running, we can load in our business data, which is analyzed and persisted by Elasticsearch. After priming Elasticsearch with the data, we can execute search queries as well as aggregations on that data.

Although any client capable of invoking REST calls (cURL, Postman, programming SDKs, etc.) can talk to Elasticsearch, we use Kibana as our preferred ...

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.