# Setting include\_type\_name=false using Transport Client in 6.8.3

**URL:** <https://discuss.elastic.co/t/setting-include-type-name-false-using-transport-client-in-6-8-3/201476>\
**Category:** Elasticsearch\
**Created:** [September 27, 2019, 11:11pm UTC](https://discuss.elastic.co/t/setting-include-type-name-false-using-transport-client-in-6-8-3/201476 "2019-09-27T23:11:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AV7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/av7/32/64706_2.png) [@AV7](https://discuss.elastic.co/u/AV7)\
**Post date:** [September 27, 2019, 11:11pm UTC](https://discuss.elastic.co/t/setting-include-type-name-false-using-transport-client-in-6-8-3/201476/1 "2019-09-27T23:11:35Z")

</div>

Hi,

I am creating indices using the Transport Client and wanted to know how can we set the `include_type_name=false` when we prepare the index? I can see it can be done using the Rest Client, but having trouble figuring out for transport.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 28, 2019, 2:31am UTC](https://discuss.elastic.co/t/setting-include-type-name-false-using-transport-client-in-6-8-3/201476/2 "2019-09-28T02:31:07Z")

</div>

The TransportClient does not support it

---

<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:** [October 26, 2019, 2:31am UTC](https://discuss.elastic.co/t/setting-include-type-name-false-using-transport-client-in-6-8-3/201476/3 "2019-10-26T02:31:08Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
