The Elasticsearch document life cycle can be defined as a series of phases in forms and functional activities, through indexing operations until deletion. Let's first start with the major components of a document and then go through the cycle.
The Elasticsearch document life cycle
What is a document?
Documents in Elasticsearch are represented in JSON format. JSON objects are written in key/value pairs. A key must be a string and must always be enclosed in quotation marks. The value must be a valid JSON datatype. Keys and values are separated by colons and with the key/value pair separated by commas. A document will be associated with metadata elements during indexing operations including the given index name, the mapping...