# Query Object in Mapping?

**URL:** <https://discuss.elastic.co/t/query-object-in-mapping/100423>\
**Category:** Elasticsearch\
**Created:** [September 13, 2017, 9:51pm UTC](https://discuss.elastic.co/t/query-object-in-mapping/100423 "2017-09-13T21:51:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krmathieu](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@krmathieu](https://discuss.elastic.co/u/krmathieu)\
**Post date:** [September 13, 2017, 9:51pm UTC](https://discuss.elastic.co/t/query-object-in-mapping/100423/1 "2017-09-13T21:51:22Z")

</div>

I ran pushed a 1000 docs into ES 5.4 to allow the mapping to be automatically generated and see the object below in the mapping but it is not coming from my data. Any idea what this is and what it is used for? Any info would be appreciated. Thanks.

Kevin

"query" : {  
"properties" : {  
"match\_all" : {  
"type" : "object"  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![krmathieu](https://avatars.discourse-cdn.com/v4/letter/k/b5e925/32.png) [@krmathieu](https://discuss.elastic.co/u/krmathieu)\
**Post date:** [September 14, 2017, 3:48pm UTC](https://discuss.elastic.co/t/query-object-in-mapping/100423/2 "2017-09-14T15:48:51Z")

</div>

Disregard this one, I know what happened. I actually posted a query to the index directly vice the search end point and that is how the query ended up as part of my mapping.

---

<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:** [October 12, 2017, 3:49pm UTC](https://discuss.elastic.co/t/query-object-in-mapping/100423/3 "2017-10-12T15:49:07Z")

</div>

Closed on October 12, 2017, 3:49pm UTC

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