# Could not find hunspell dictionary \[US\]

**URL:** <https://discuss.elastic.co/t/could-not-find-hunspell-dictionary-us/26143>\
**Category:** Elasticsearch\
**Created:** [July 23, 2015, 9:54am UTC](https://discuss.elastic.co/t/could-not-find-hunspell-dictionary-us/26143 "2015-07-23T09:54:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@poonam](https://discuss.elastic.co/u/poonam)\
**Post date:** [July 23, 2015, 9:54am UTC](https://discuss.elastic.co/t/could-not-find-hunspell-dictionary-us/26143/1 "2015-07-23T09:54:51Z")

</div>

I am trying to use hunspell .  
I have crated plugin and have dictionary in config path.  
in elasticsearch.yml I added  
indices.analysis.hunspell.dictionary.location: config\hunspell  
indices.analysis.hunspell.dictionary.ignore\_case: true  
my folder structure:  
D:\Elastic\elasticsearch-1.5.2\config\hunspell\en\_US\en\_US.dic  
D:\Elastic\elasticsearch-1.5.2\config\hunspell\en\_US\en\_US.aff

it throws error while creating index  
"error": "IndexCreationException[[kbs] failed to create index]; nested: UncheckedExecutionException[org.elasticsearch.ElasticsearchException: Could not find hunspell dictionary [US]]; nested: ElasticsearchException[Could not find hunspell dictionary [US]]; ",  
"status": 500

---

<div class="post-metadata">

**Author:** ![poonam](https://avatars.discourse-cdn.com/v4/letter/p/b38774/32.png) [@poonam](https://discuss.elastic.co/u/poonam)\
**Post date:** [July 23, 2015, 10:47am UTC](https://discuss.elastic.co/t/could-not-find-hunspell-dictionary-us/26143/2 "2015-07-23T10:47:48Z")

</div>

looks like I need to use  
path.config instaed. but I m not able set

path.conf: config/hunspell/en\_US/en\_US.dic  
I used like this it throw error while resatring ES.  
Please help.

---

<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:59pm UTC](https://discuss.elastic.co/t/could-not-find-hunspell-dictionary-us/26143/3 "2017-07-05T23:59:33Z")

</div>


