Could not find hunspell dictionary [US]


(poonam) #1

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


(poonam) #2

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.


(system) #3