# Unable to Create Index with Synonym Settings

**URL:** <https://discuss.elastic.co/t/unable-to-create-index-with-synonym-settings/9639>\
**Category:** Elasticsearch\
**Created:** [November 8, 2012, 9:03pm UTC](https://discuss.elastic.co/t/unable-to-create-index-with-synonym-settings/9639 "2012-11-08T21:03:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Irving](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/irving/32/2834_2.png) [@Irving](https://discuss.elastic.co/u/Irving)\
**Post date:** [November 8, 2012, 9:03pm UTC](https://discuss.elastic.co/t/unable-to-create-index-with-synonym-settings/9639/1 "2012-11-08T21:03:02Z")

</div>

Hi all,

I'm trying to follow the instructions on setting up synonym filters on my  
index, but on creation of the index on my remote cluster (3 nodes), it  
returns acknowledge=false. Viewing the cluster via the head plugin shows me  
that its health is red. However, when I try to create the index without  
the synonym filter or if I try to create the index with synonyms on my  
local installation of elasticsearch, it works fine.

I looked at the cluster logs, but there doesn't seem to be anything out of  
the ordinary:  
[2012-11-08 20:33:01,265][INFO][cluster.metadata] [Lora Danish] [  
test] creating index, cause [api], shards [5]/[1], mappings []  
[2012-11-08 20:33:01,462][DEBUG][gateway.s3] [Lora Danish]writing to gateway org  
.elasticsearch.gateway.shared.SharedStorageGateway$2@aeb7058 ...  
[2012-11-08 20:33:01,604][DEBUG][gateway.s3] [Lora Danish]wrote to gateway org  
.elasticsearch.gateway.shared.SharedStorageGateway$2@aeb7058, took 142ms

index settings:  
ec2 cluster:  
curl -XPUT 'http://[ec2]:9200/test/' -d  
'{"settings":{"index":{"analysis":{"analyzer":{"name\_analyzer":{"type":"custom","tokenizer":"standard","filter":["synonym"]}},"filter":{"synonym":{"type":"synonym","synonyms\_path":"synonyms.txt","ignore\_case":"true"}}}}}}'  
{"ok":true,"acknowledged":false}

curl -XPUT 'http://[ec2]:9200/test/' -d  
'{"settings":{"index":{"analysis":{"analyzer":{"name\_analyzer":{"type":"custom","tokenizer":"standard"}}}}}}'  
{"ok":true,"acknowledged":true}

localhost:  
curl -XPUT '[http://localhost:9200/test/](http://localhost:9200/test/)' -d {"settings":{"index":{"analysis"  
:{"analyzer":{"name\_analyzer":{"type":"custom","tokenizer":"standard",  
"filter":["synonym"]}},"filter":{"synonym":{"type":"synonym","synonyms\_path"  
:"synonyms.txt","ignore\_case":"true"}}}}}}'  
{"ok":true,"acknowledged":true}

Any thoughts? Thanks!  
Irving

--

---

<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 6, 2017, 3:05am UTC](https://discuss.elastic.co/t/unable-to-create-index-with-synonym-settings/9639/2 "2017-07-06T03:05:13Z")

</div>

Closed on July 6, 2017, 3:05am UTC


