In the previous chapter, we gained basic knowledge of Elasticsearch. We also covered the latest features and breaking changes that were introduced in version 7.0. In this chapter, we will discuss the index APIs. Documents are indexed, stored, and made searchable by using the index API. The main purpose of an index is to logically group documents that have certain similar characteristics. An index is identified by a name (all in lowercase), and this name is referenced in index, search, update, and delete operations for the documents belonging to it.
In subsequent sections, you'll learn how to use index APIs to manage individual indices, index settings, aliases, and templates. Monitoring statistics for operations that occur on an index will also be covered. We will also look at index management operations, including refreshing, flushing, and clearing the cache.
By...