# Why Am I getting this Error Message In My Advanced Job

**URL:** <https://discuss.elastic.co/t/why-am-i-getting-this-error-message-in-my-advanced-job/95222>\
**Category:** Elasticsearch\
**Created:** [July 31, 2017, 5:39pm UTC](https://discuss.elastic.co/t/why-am-i-getting-this-error-message-in-my-advanced-job/95222 "2017-07-31T17:39:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [July 31, 2017, 5:39pm UTC](https://discuss.elastic.co/t/why-am-i-getting-this-error-message-in-my-advanced-job/95222/1 "2017-07-31T17:39:13Z")

</div>

I am attempting to create a Machine Learning advanced job. I have selected the high\_count function, my by\_field\_name is calltype.keyword and my over\_field is agency.keyword. I use sector.keyword as an influencer. When I attempt to save the job I get this error message:  
Save failed: [illegal\_argument\_exception] [calltype] is defined as an object in mapping [doc] but this name is already used for a field in other types

I don't understand why I am seeing this. calltype is only defined one time as the by\_field. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![ppierce01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppierce01/32/18510_2.png) [@ppierce01](https://discuss.elastic.co/u/ppierce01)\
**Post date:** [July 31, 2017, 6:02pm UTC](https://discuss.elastic.co/t/why-am-i-getting-this-error-message-in-my-advanced-job/95222/2 "2017-07-31T18:02:35Z")

</div>

I figured out the problem. I had not selected to use a dedicated index. After selecting that option the job built and ran. But that begs another question. By using that dedicated index how much of my resources are being used. The index for my data has over a million records. Am I now creating another index with a million duplicate records?

---

<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:** [August 28, 2017, 6:02pm UTC](https://discuss.elastic.co/t/why-am-i-getting-this-error-message-in-my-advanced-job/95222/3 "2017-08-28T18:02:39Z")

</div>

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