6 Indexing operations
This chapter covers
- Basic indexing operations
- Index templating
- Status management and monitoring
- Index life-cycle management (ILM)
In the last few chapters, we worked with indices without delving much into the intricate details about them. While that is adequate for getting started with Elasticsearch, it is far from ideal. Configuring an index with appropriate settings not only lets the search engine run efficiently, but it also enables befitting infrastructure, thus increasing resiliency and reducing costs. Having a sound organizational indexing strategy will create a future-proof search engine and, hence, a smoother user experience.
For a healthy and performant Elasticsearch cluster, working with indices at a lower level is necessary. Understanding the inner workings of index management in depth helps when setting up a resilient and coherent search system. This chapter is all about digging deep into indexing management, monitoring, and life cycle.