It is time to work with and understand operations on documents in Elasticsearch. Documents are indexed, fetched, updated, or deleted based on our requirements. We can load data into Elasticsearch from stores such as databases and files or from real-time streams. Similarly, we can update or modify data that exists in Elasticsearch. If needed, we can even delete and purge documents. For example, we may have a product catalog database that needs to be imported into Elasticsearch to enable search capabilities on products.
- Document indexing APIs—To index documents into Elasticsearch
- Read and search APIs—To allow clients to fetch/search documents
- Update APIs—To edit and modify the fields of a document
- Delete APIs—To remove documents from the store