Index management operations allow you to manage the entire life cycle process via its settings, mappings, creation, opening, closing, deletion, and updating indices in an Elasticsearch cluster. Let's explore the basic CRUD APIs for working with indices first.
Index management APIs
Basic CRUD APIs
Some of the basic APIs for working with indices are as follows:
- Index creation: The name of the index must follow these requirements:
-
- Lowercase only
- Cannot include \, /, *, ?, ", <, >, |, spaces, commas, or #
- The colon (:) character can't be used
- Cannot start with -, _, or +
- Cannot be . or ..
- The maximum bytes for the index name is 255
Let's practice index creation by using a ...