Elasticsearch Dynamic Mapping Pitfalls

In Elasticsearch, when you index document to an index, if you do not specify the mapping for the field, Elastic will use dynamic mapping to infer the data type for your field.