# Rally is not able to manage multiple types

**URL:** <https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [September 7, 2021, 7:48pm UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577 "2021-09-07T19:48:52Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [September 7, 2021, 7:48pm UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/1 "2021-09-07T19:48:53Z")

</div>

Hey there,  
I created a custom track from an existing index that includes several document types (at least 3).  
Can I know how to use this track during the import phase to have the correct imported type?  
If I specify target-type field in the corpora section, every document will be imported with that type but this behavior is wrong.  
Could I separate the json files by types?  
Should I use other parameters?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 8, 2021, 4:45am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/2 "2021-09-08T04:45:05Z")

</div>

Which version of Elasticsearch are you using? Document types are being deprecated so recent versions do not support multiple document types in a single index.

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [September 8, 2021, 7:09am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/3 "2021-09-08T07:09:24Z")

</div>

I have v5.6

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 8, 2021, 7:49am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/4 "2021-09-08T07:49:39Z")

</div>

Which version of Rally are you using? The most recent version does no longer support versions prior to Elasticsearch 6.0.

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [September 8, 2021, 8:10am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/5 "2021-09-08T08:10:56Z")

</div>

Sorry for the lack of information. I am using ES v5.6 and Rally 2.0.2

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [September 14, 2021, 9:45pm UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/6 "2021-09-14T21:45:13Z")

</div>

any possible solution?

---

<div class="post-metadata">

**Author:** ![Quentin\_Pradet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/quentin_pradet/32/94192_2.png) [@Quentin\_Pradet](https://discuss.elastic.co/u/Quentin_Pradet)\
**Post date:** [September 15, 2021, 2:43am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/7 "2021-09-15T02:43:46Z")

</div>

Sorry, as mentioned by @Christian_Dahlqvist, the versions you're running are no longer supported by Rally.

---

<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 13, 2021, 2:44am UTC](https://discuss.elastic.co/t/rally-is-not-able-to-manage-multiple-types/283577/8 "2021-10-13T02:44:25Z")

</div>

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