# Is type play important role in searching?

**URL:** <https://discuss.elastic.co/t/is-type-play-important-role-in-searching/4892>\
**Category:** Elasticsearch\
**Created:** [July 19, 2011, 6:15am UTC](https://discuss.elastic.co/t/is-type-play-important-role-in-searching/4892 "2011-07-19T06:15:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_4](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Sam\_4](https://discuss.elastic.co/u/Sam_4)\
**Post date:** [July 19, 2011, 6:15am UTC](https://discuss.elastic.co/t/is-type-play-important-role-in-searching/4892/1 "2011-07-19T06:15:45Z")

</div>

Hi

I have doubt that creating an index we define type,Is it play  
important role in searching data.if yes,then which situation we uses  
it.please provide some example to clear things.

Thanks

---

<div class="post-metadata">

**Author:** ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)\
**Post date:** [July 19, 2011, 10:38am UTC](https://discuss.elastic.co/t/is-type-play-important-role-in-searching/4892/2 "2011-07-19T10:38:15Z")

</div>

I think it is useful for parent child stuff:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Also separating the type from index is very important when you have 2  
or more indices of one type.  
This is a big advantage e.g. over solr

On 19 Jul., 08:15, sam [mishra.sam...@gmail.com](mailto:mishra.sam...@gmail.com) wrote:

> Hi
> 
> I have doubt that creating an index we define type,Is it play  
> important role in searching data.if yes,then which situation we uses  
> it.please provide some example to clear things.
> 
> Thanks

---

<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, 4:00am UTC](https://discuss.elastic.co/t/is-type-play-important-role-in-searching/4892/3 "2017-07-06T04:00:11Z")

</div>

Closed on July 6, 2017, 4:00am UTC


