Learning Elastic Stack 7.0(Second Edition)
上QQ阅读APP看书,第一时间看更新

Complex datatypes

The complex datatypes supported by Elasticsearch are as follows:

  • Array datatype: Arrays of the same types of instances. For example, arrays of strings, integers, and more. Doesn't allow for the mixing of datatypes in arrays.
  • Object datatype: Allows inner objects within JSON documents.
  • Nested datatype: Useful for supporting arrays of inner objects, where each inner object needs to be independently queriable.