# Restore index without analysis settings

**URL:** <https://discuss.elastic.co/t/restore-index-without-analysis-settings/32283>\
**Category:** Elasticsearch\
**Created:** [October 15, 2015, 2:34pm UTC](https://discuss.elastic.co/t/restore-index-without-analysis-settings/32283 "2015-10-15T14:34:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brainsiq](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@brainsiq](https://discuss.elastic.co/u/brainsiq)\
**Post date:** [October 15, 2015, 2:34pm UTC](https://discuss.elastic.co/t/restore-index-without-analysis-settings/32283/1 "2015-10-15T14:34:19Z")

</div>

The restore documentation says that it is possible to restore a snapshot and either change or ignore most index settings. I am trying to ignore some or all of the "index.analysis" settings, as they reference some files for stopwords and synonyms which I no longer have access to.

I have tried the following two restore request payloads:

```
{
  "ignore_index_settings": [
    "index.analysis"
  ]
}

```

And

```
{
  "index_settings": {
    "index.analysis": {}
  }
}

```

But I get the following error each time:

[2015-10-15 14:27:41,053][WARN][cluster.action.shard] [products-201505151125][0] received shard failed for [products-201505151125][0], node[DHawKhRLSfOp24NN9iFePg], [P], restoring[custom-s3:products-1], s[INITIALIZING], unassigned\_info[[reason=ALLOCATION\_FAILED], at[2015-10-15T14:27:41.005Z], details[shard failure [failed to create index][IndexCreationException[[products-201505151125] failed to create index]; nested: FailedToResolveConfigException[Failed to resolve config path [analysis/stopwords.txt], tried file path [analysis/stopwords.txt], path file [/app/config/analysis/stopwords.txt], and classpath]; ]]], indexUUID [Tasz6HdYSSi1qfkRHY2f1w], reason [shard failure [failed to create index][IndexCreationException[[products-201505151125] failed to create index]; nested: FailedToResolveConfigException[Failed to resolve config path [analysis/stopwords.txt], tried file path [analysis/stopwords.txt], path file [/app/config/analysis/stopwords.txt], and classpath]; ]]

Is there a way I can get the restore operation to ignore these settings or is my snapshot essentially useless without the referenced files?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 15, 2015, 8:48pm UTC](https://discuss.elastic.co/t/restore-index-without-analysis-settings/32283/2 "2015-10-15T20:48:25Z")

</div>

Index settings are different from analysis ones though, you can't do what you are looking to do sorry.

---

<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 5, 2017, 11:44pm UTC](https://discuss.elastic.co/t/restore-index-without-analysis-settings/32283/3 "2017-07-05T23:44:31Z")

</div>


