6 Indexing operations

This chapter covers

  • Basic indexing operations
  • Index templating
  • Status management and monitoring
  • Index lifecycle management (ILM)

In the last few chapters, we worked with indices without delving into intricate details. While that is adequate for getting started with Elasticsearch, it is far from ideal. Configuring an index with appropriate settings not only lets Elasticsearch run efficiently but also increases resiliency. A sound organizational indexing strategy creates a future-proof search engine and, hence, a smoother user experience.

For a healthy and performant Elasticsearch cluster, we need to work with indices at a lower level. Understanding index management in depth helps when setting up a resilient and coherent ...

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.