The core datatypes supported by Elasticsearch are as follows:
- String datatypes:
- text: The text datatype is useful for supporting full-text search for fields which contain a description or lengthy text values. These fields are analyzed before indexing to support full-text search.
- keyword: The keyword type enables analytics on string fields. Fields of this type support sorting, filtering, and aggregations.
- Numeric datatypes:
- byte, short, integer, and long: Signed integers with 8-bit, 16-bit, 32-bit, and 64-bit precisions respectively
- float and double: IEEE 754 floating point numbers with single-precision 32-bit and double-precision 64-bit representations
- half_float: IEEE 754 floating point number with half-precision 16-bit ...