# Types - Array vs Nested vs Object

**URL:** <https://discuss.elastic.co/t/types-array-vs-nested-vs-object/19773>\
**Category:** Elasticsearch\
**Created:** [September 14, 2014, 6:47am UTC](https://discuss.elastic.co/t/types-array-vs-nested-vs-object/19773 "2014-09-14T06:47:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eric\_Rodriguez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eric_rodriguez/32/1281_2.png) [@Eric\_Rodriguez](https://discuss.elastic.co/u/Eric_Rodriguez)\
**Post date:** [September 14, 2014, 6:47am UTC](https://discuss.elastic.co/t/types-array-vs-nested-vs-object/19773/1 "2014-09-14T06:47:55Z")

</div>

Hi,

## I'm trying to understand the difference and limitation of these "multi field" core types:

## Array: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-array-type.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-array-type.html)

## Nested: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-nested-type.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-nested-type.html)

Object: [http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-object-type.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-object-type.html)

So far I found this  
article [http://obtao.com/blog/2014/04/elasticsearch-advanced-search-and-nested-objects/](http://obtao.com/blog/2014/04/elasticsearch-advanced-search-and-nested-objects/)

Do you have other advices, presentations or resources to know when you'd  
better use each type?

Thanks,  
Eric

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/aa2ce828-c5df-49eb-be91-9d551fdaf125%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/aa2ce828-c5df-49eb-be91-9d551fdaf125%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:02am UTC](https://discuss.elastic.co/t/types-array-vs-nested-vs-object/19773/2 "2017-07-06T01:02:34Z")

</div>


