
上QQ阅读APP看书,第一时间看更新
Datatypes
Elasticsearch supports a wide variety of datatypes for different scenarios where you want to store text data, numbers, booleans, binary objects, arrays, objects, nested types, geo-points, geo-shapes, and many other specialized datatypes, such as IPv4 and IPv6 addresses.
In a document, each field has a datatype associated with it. A summary of the datatypes supported by Elasticsearch is discussed in the following sections.