# How many mappings is too many?

**URL:** <https://discuss.elastic.co/t/how-many-mappings-is-too-many/19931>\
**Category:** Elasticsearch\
**Created:** [September 23, 2014, 11:50pm UTC](https://discuss.elastic.co/t/how-many-mappings-is-too-many/19931 "2014-09-23T23:50:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gregory\_Schier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregory_schier/32/1259_2.png) [@Gregory\_Schier](https://discuss.elastic.co/u/Gregory_Schier)\
**Post date:** [September 23, 2014, 11:50pm UTC](https://discuss.elastic.co/t/how-many-mappings-is-too-many/19931/1 "2014-09-23T23:50:55Z")

</div>

I did a quick search but couldn't find anything on this topic.

We have a parent/child/grandchild relationship and our system has a dynamic  
number of parent mappings, but our child/grandchild mappings have a strict  
schema. This is because the data in the parent mapping is undefined and  
user submitted.

So two questions:

1. Is OK to have thousands of parent mappings (which means thousands of  
child/grandchild mappings as well since a child can only have one parent)
2. Would a better approach be to have one massive parent mapping  
(potentially tens of thousands of fields)?

Thanks.

~ Gregory

--  
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/efef7acf-2d2a-4539-9990-0357447387ac%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/efef7acf-2d2a-4539-9990-0357447387ac%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:00am UTC](https://discuss.elastic.co/t/how-many-mappings-is-too-many/19931/2 "2017-07-06T01:00:21Z")

</div>


