object vs nested type in data mapping in Elasticsearch

In this post, I compare the object vs nested type used in data mapping in Elasticsearch.