The following spreadsheet summarizes the available data types in Elasticsearch:
Common |
Complex |
Geo |
Specialized |
String |
Array |
Geo_Point |
ip |
Keyword |
Object (single Json) |
Geo_Shape |
completion |
Date |
Nested (Json array) |
token_count |
|
Long |
join |
||
Short |
percolator |
||
Byte |
murmur3 |
||
Double |
|||
Float |
|||
Boolean |
|||
Binary |
|||
Integer_range |
|||
Float_range |
|||
Long_range |
|||
Double_range |
|||
Date_range |
Most of the data types need no explanation. But the following are a few explanations for specific data types:
- Geo-Point: You can define latitude and longitude points here
- Geo-Shape: This is for defining shapes
- Completion: This data type is for defining auto completion of words.
- Join: To define parent/child relationships
- Percolator: This is for query-dsl
- Murmur3: During...