# Facets on Object Types

**URL:** <https://discuss.elastic.co/t/facets-on-object-types/15342>\
**Category:** Elasticsearch\
**Created:** [January 21, 2014, 12:53pm UTC](https://discuss.elastic.co/t/facets-on-object-types/15342 "2014-01-21T12:53:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayngee](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@kayngee](https://discuss.elastic.co/u/kayngee)\
**Post date:** [January 21, 2014, 12:53pm UTC](https://discuss.elastic.co/t/facets-on-object-types/15342/1 "2014-01-21T12:53:57Z")

</div>

Hi Guys,

Quick Question as i can't get this working? Can \*Facets \*work on object of  
_type:object_

As all the examples i am finding all work on type:nested

If so can anyone provide a small example.

Regards  
Shawn

--  
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/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![kayngee](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@kayngee](https://discuss.elastic.co/u/kayngee)\
**Post date:** [January 21, 2014, 1:10pm UTC](https://discuss.elastic.co/t/facets-on-object-types/15342/2 "2014-01-21T13:10:58Z")

</div>

Ok so i Solved that but another question how do you tackle when you got  
Embedded Objects which have the same field name apparently when the field  
name is not unique faceting returns no results

On Tue, Jan 21, 2014 at 1:53 PM, Shawn Ritchie [xritchie@gmail.com](mailto:xritchie@gmail.com) wrote:

> Hi Guys,
> 
> Quick Question as i can't get this working? Can \*Facets \*work on object  
> of _type:object_
> 
> As all the examples i am finding all work on type:nested
> 
> If so can anyone provide a small example.
> 
> Regards  
> Shawn
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/dYL8tftwwyo/unsubscribe](https://groups.google.com/d/topic/elasticsearch/dYL8tftwwyo/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/47f70ff6-5795-4a74-9e9d-a62cf498a853%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Thanks  
Shawn Ritchie

--  
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/CAP0uL7xXUwuKuAm%3DtSt89FDPcSr%3DwBp%2BtoB5AOSv%2BK%3DZ%2By87fQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAP0uL7xXUwuKuAm%3DtSt89FDPcSr%3DwBp%2BtoB5AOSv%2BK%3DZ%2By87fQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:55am UTC](https://discuss.elastic.co/t/facets-on-object-types/15342/3 "2017-07-06T01:55:36Z")

</div>


