# Very strange behaviour of nested documents

**URL:** <https://discuss.elastic.co/t/very-strange-behaviour-of-nested-documents/21400>\
**Category:** Elasticsearch\
**Created:** [December 26, 2014, 8:13pm UTC](https://discuss.elastic.co/t/very-strange-behaviour-of-nested-documents/21400 "2014-12-26T20:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincent\_Bernardi](https://avatars.discourse-cdn.com/v4/letter/v/e79b87/32.png) [@Vincent\_Bernardi](https://discuss.elastic.co/u/Vincent_Bernardi)\
**Post date:** [December 26, 2014, 8:13pm UTC](https://discuss.elastic.co/t/very-strange-behaviour-of-nested-documents/21400/1 "2014-12-26T20:13:27Z")

</div>

Hello everyone,  
I have a very strange problem where when I create a mapping with two nested  
properties, I can't find a document by querying on some subproperties of  
these nested properties. If my document only has one nested property,  
everything works fine. I just created an issue on the github  
page: [https://github.com/elasticsearch/elasticsearch/issues/9074](https://github.com/elasticsearch/elasticsearch/issues/9074), but I'm  
thinking this problem may juste as well come from a miscomprehension of the  
ES engine from my part. Can anyone shed any light on this problem?  
Thanks in advance,  
V.

--  
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/a7a94898-0e92-4131-88a2-4d2cf92317a3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a7a94898-0e92-4131-88a2-4d2cf92317a3%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, 12:41am UTC](https://discuss.elastic.co/t/very-strange-behaviour-of-nested-documents/21400/2 "2017-07-06T00:41:52Z")

</div>


