# Source code advise about how to store and query Nested datatype

**URL:** <https://discuss.elastic.co/t/source-code-advise-about-how-to-store-and-query-nested-datatype/163670>\
**Category:** Elasticsearch\
**Created:** [January 10, 2019, 7:33am UTC](https://discuss.elastic.co/t/source-code-advise-about-how-to-store-and-query-nested-datatype/163670 "2019-01-10T07:33:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kun\_Qian](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kun_qian/32/53760_2.png) [@Kun\_Qian](https://discuss.elastic.co/u/Kun_Qian)\
**Post date:** [January 10, 2019, 7:33am UTC](https://discuss.elastic.co/t/source-code-advise-about-how-to-store-and-query-nested-datatype/163670/1 "2019-01-10T07:33:45Z")

</div>

I know "Indexing 1 document with 100 nested fields actually indexes 101 documents ...". Now I want to know what structure the Nested Datatype stores in source code, which class in source show the detail? Would anyone give an advise?

---

<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:** [February 7, 2019, 7:33am UTC](https://discuss.elastic.co/t/source-code-advise-about-how-to-store-and-query-nested-datatype/163670/2 "2019-02-07T07:33:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
