# Re: What \_type to use

**URL:** <https://discuss.elastic.co/t/re-what--type-to-use/5163>\
**Category:** Elasticsearch\
**Created:** [August 15, 2011, 5:55pm UTC](https://discuss.elastic.co/t/re-what--type-to-use/5163 "2011-08-15T17:55:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![James\_Cook](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@James\_Cook](https://discuss.elastic.co/u/James_Cook)\
**Post date:** [August 15, 2011, 5:55pm UTC](https://discuss.elastic.co/t/re-what--type-to-use/5163/1 "2011-08-15T17:55:31Z")

</div>

The decision will of course be up to you on how you structure your data.  
Thinking of the "\_type" is sometime analagous to tables in a database, but  
need not be. Searching across various "types" can easily be acomplished  
using the current APIs, as multiple types can be passed with the search  
request.

[http://www.elasticsearch.org/guide/reference/api/search/indices-types.html](http://www.elasticsearch.org/guide/reference/api/search/indices-types.html)

-- jim

---

<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, 3:56am UTC](https://discuss.elastic.co/t/re-what--type-to-use/5163/2 "2017-07-06T03:56:55Z")

</div>


