May 2017
Beginner to intermediate
596 pages
15h 2m
English
Data in Elasticsearch is stored in the form of documents. These documents are addressable and have identifiable attributes that can be queried from the store. A sample document (JSON format) is shown in the figure:
Figure 05: Sample document in ElasticsearchSimilar to String objects in Java, documents in Elasticsearch are immutable, so once created, you cannot update them. If you would want to update one, you have to either reindex or replace it.
Apart from the real data, a document does have additional information about the document itself, called document metadata. The most important metadata for a document are ...