# Index-setting is not work

**URL:** <https://discuss.elastic.co/t/index-setting-is-not-work/213660>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [January 3, 2020, 6:34am UTC](https://discuss.elastic.co/t/index-setting-is-not-work/213660 "2020-01-03T06:34:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Leopold-EI](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leopold-ei/32/60220_2.png) [@Leopold-EI](https://discuss.elastic.co/u/Leopold-EI)\
**Post date:** [January 6, 2020, 5:36am UTC](https://discuss.elastic.co/t/index-setting-is-not-work/213660/3 "2020-01-06T05:36:17Z")

</div>

Hi, Thanks for your suggest.  
I find the reason，the indices body setting only effective when using create-index。If I set operation-type：bulk，the setting is not working. So I rebuild my challenge like this:

```auto
{
  "name": "index-test-challenge",
  "default": true,
  "description": "新增索引测试",
  "schedule": [
    {
      "operation": {
        "operation-type": "create-index",
        "index": "test-index",
        "settings": {{index_settings | default({}) | tojson}}
      }
    },
    {
      "operation": {
        "operation-type": "bulk",
        "bulk-size": 5000,
        "indices": ["test-index"],
        "corpora": ["test_docs"]
      }
    }
  ]
}

```

I think it's a issue.

---

_[View the full topic](https://discuss.elastic.co/t/index-setting-is-not-work/213660)._
