# Field cache for different object types with the same field name

**URL:** <https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158>\
**Category:** Elasticsearch\
**Created:** [March 14, 2013, 2:53pm UTC](https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158 "2013-03-14T14:53:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Telvis\_Calhoun\_Jr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/telvis_calhoun_jr/32/1792_2.png) [@Telvis\_Calhoun\_Jr](https://discuss.elastic.co/u/Telvis_Calhoun_Jr)\
**Post date:** [March 14, 2013, 2:53pm UTC](https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158/1 "2013-03-14T14:53:48Z")

</div>

If I have two object types with the same field name, will their values  
occupy the same space in the field cache? For example: If type1.name,  
type2.name exist and I facet on name, I assume there is only 1 cache for  
name with values from both types.

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [March 14, 2013, 5:54pm UTC](https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158/2 "2013-03-14T17:54:54Z")

</div>

On Thu, 2013-03-14 at 07:53 -0700, Telvis Calhoun Jr. wrote:

> If I have two object types with the same field name, will their values  
> occupy the same space in the field cache? For example: If type1.name,  
> type2.name exist and I facet on name, I assume there is only 1 cache  
> for name with values from both types.

Correct.

clint

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Telvis\_Calhoun\_Jr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/telvis_calhoun_jr/32/1792_2.png) [@Telvis\_Calhoun\_Jr](https://discuss.elastic.co/u/Telvis_Calhoun_Jr)\
**Post date:** [March 14, 2013, 6:17pm UTC](https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158/3 "2013-03-14T18:17:17Z")

</div>

Excellent. Thank you sir.

On Thu, Mar 14, 2013 at 1:54 PM, Clinton Gormley [clint@traveljury.com](mailto:clint@traveljury.com) wrote:

> On Thu, 2013-03-14 at 07:53 -0700, Telvis Calhoun Jr. wrote:
> 
> > If I have two object types with the same field name, will their values  
> > occupy the same space in the field cache? For example: If type1.name,  
> > type2.name exist and I facet on name, I assume there is only 1 cache  
> > for name with values from both types.
> 
> Correct.
> 
> clint
> 
> --  
> 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/WbEdRcS9fUw/unsubscribe?hl=en-US](https://groups.google.com/d/topic/elasticsearch/WbEdRcS9fUw/unsubscribe?hl=en-US).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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).  
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, 2:46am UTC](https://discuss.elastic.co/t/field-cache-for-different-object-types-with-the-same-field-name/11158/4 "2017-07-06T02:46:24Z")

</div>

Closed on July 6, 2017, 2:46am UTC


