# Index and Indextype

**URL:** <https://discuss.elastic.co/t/index-and-indextype/16906>\
**Category:** Elasticsearch\
**Created:** [April 9, 2014, 8:15pm UTC](https://discuss.elastic.co/t/index-and-indextype/16906 "2014-04-09T20:15:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [April 9, 2014, 8:15pm UTC](https://discuss.elastic.co/t/index-and-indextype/16906/1 "2014-04-09T20:15:16Z")

</div>

Trying to understand how different index type influences the performance of  
a given index. For instance if I have a users index with carPayment and  
busPayment type. In terms of performance and how it's physicall stored does  
it make any difference if data is stored in different types vs just one  
type eg: payment?

Type I am referring to is "tweet" in this below url:

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index\_.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html)

--  
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/CAOT3TWraZhjw9Pacn%2BTxSZxx\_ODH%3D7q27ZyY7OLFNUiCEFntbQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWraZhjw9Pacn%2BTxSZxx_ODH%3D7q27ZyY7OLFNUiCEFntbQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [April 10, 2014, 4:58pm UTC](https://discuss.elastic.co/t/index-and-indextype/16906/2 "2014-04-10T16:58:22Z")

</div>

Any info on this subject would be helpful

On Wed, Apr 9, 2014 at 1:15 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> Trying to understand how different index type influences the performance  
> of a given index. For instance if I have a users index with carPayment and  
> busPayment type. In terms of performance and how it's physicall stored does  
> it make any difference if data is stored in different types vs just one  
> type eg: payment?
> 
> Type I am referring to is "tweet" in this below url:
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html)

--  
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/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [April 11, 2014, 5:33am UTC](https://discuss.elastic.co/t/index-and-indextype/16906/3 "2014-04-11T05:33:26Z")

</div>

There should be no difference. Ultimately, both types are part of a the  
same Lucene index. The cache, posting format and idf are all tied to a  
field, so if the different types share the same field, it is the same data  
structure underneath.

--  
Ivan

On Thu, Apr 10, 2014 at 9:58 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:

> Any info on this subject would be helpful
> 
> On Wed, Apr 9, 2014 at 1:15 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > Trying to understand how different index type influences the performance  
> > of a given index. For instance if I have a users index with carPayment and  
> > busPayment type. In terms of performance and how it's physicall stored does  
> > it make any difference if data is stored in different types vs just one  
> > type eg: payment?
> > 
> > Type I am referring to is "tweet" in this below url:
> > 
> > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html)
> 
> --  
> 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/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN\_-Fb8KkZ%3D4S0OU\_p5Vzzn4A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN_-Fb8KkZ%3D4S0OU_p5Vzzn4A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Mohit\_Anchlia](https://avatars.discourse-cdn.com/v4/letter/m/848f3c/32.png) [@Mohit\_Anchlia](https://discuss.elastic.co/u/Mohit_Anchlia)\
**Post date:** [April 11, 2014, 4:02pm UTC](https://discuss.elastic.co/t/index-and-indextype/16906/4 "2014-04-11T16:02:29Z")

</div>

thanks!

On Thu, Apr 10, 2014 at 10:33 PM, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> There should be no difference. Ultimately, both types are part of a the  
> same Lucene index. The cache, posting format and idf are all tied to a  
> field, so if the different types share the same field, it is the same data  
> structure underneath.
> 
> --  
> Ivan
> 
> On Thu, Apr 10, 2014 at 9:58 AM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> 
> > Any info on this subject would be helpful
> > 
> > On Wed, Apr 9, 2014 at 1:15 PM, Mohit Anchlia [mohitanchlia@gmail.com](mailto:mohitanchlia@gmail.com)wrote:
> > 
> > > Trying to understand how different index type influences the performance  
> > > of a given index. For instance if I have a users index with carPayment and  
> > > busPayment type. In terms of performance and how it's physicall stored does  
> > > it make any difference if data is stored in different types vs just one  
> > > type eg: payment?
> > > 
> > > Type I am referring to is "tweet" in this below url:
> > > 
> > > [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html)
> > 
> > --  
> > 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/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWob0qDB51U5vudFDwXGPRYLPN7OfgUoobVgO%3DgpQUX8vQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN\_-Fb8KkZ%3D4S0OU\_p5Vzzn4A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN_-Fb8KkZ%3D4S0OU_p5Vzzn4A%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN\_-Fb8KkZ%3D4S0OU\_p5Vzzn4A%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQChdmutbSoZYKSzKVv2%2BqN_-Fb8KkZ%3D4S0OU_p5Vzzn4A%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAOT3TWq-Ogy%3D6XedKUCtTb6yrrV%3D8NE9M7w0L6W7SYX3P1EEJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAOT3TWq-Ogy%3D6XedKUCtTb6yrrV%3D8NE9M7w0L6W7SYX3P1EEJA%40mail.gmail.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, 1:36am UTC](https://discuss.elastic.co/t/index-and-indextype/16906/5 "2017-07-06T01:36:26Z")

</div>


