| 1. |
What Is A Document In Elasticsearch ? |
|
Answer» A document is SIMILAR to a row in relational databases. The difference is that each document in an index can have a different STRUCTURE (fields), but should have same data type for common fields. Each FIELD can OCCUR multiple times in a document with different data types. Fields can contain other DOCUMENTS too. A document is similar to a row in relational databases. The difference is that each document in an index can have a different structure (fields), but should have same data type for common fields. Each field can occur multiple times in a document with different data types. Fields can contain other documents too. |
|