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 3. Indexing, updating, and deleting data

This chapter covers

  • Using mapping types to define multiple types of documents in the same index
  • Types of fields you can use in mappings
  • Using predefined fields and their options
  • All of the above help with indexing, as well as updating and deleting data

This chapter is all about getting data into and out of Elasticsearch and maintaining it: indexing, updating, and deleting documents. In chapter 1, you learned that Elasticsearch is document-based and that documents are made up of fields and their values, which makes them self-contained, much like having the column names from a table contained in the rows. In chapter 2, you saw how you can index such a document via Elasticsearch’s REST API. Here, ...

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