What is a document in reference to the Elasticsearch? What can basic operations be performed on a document?
In Elasticsearch a document refers to the row with the relatable database. More or less, they are similar. The major difference among them is that in each document an index can have a variant structure but comprising the same data type for similar fields is required. Whereas, in a document, every field or structure having different data can exist multiple times.
Fields can also contain different documents at the same time. Elasticsearch is a document-oriented search engine platform where the documents are stored in sequence.
- Documents can be indexed (document updating occurs here)
- Right after indexing documents can be searched, sort or filtered around
- Documents can also be retrieved
- Full-text search or query resolution can also be done with documents.
BY Best Interview Question ON 05 Jun 2019