Matej Soroka
Matej Soroka

Reputation: 41

Failed to load hunspell dictionary for locale

I'm trying to set up elastic dictionary for Slovak support, but elastic cannot find hunspell files.

Using Ubuntu 19.04

Service status

Query

Uploaded dictionary

I cannot move from this problem. Help appreciated :)

Upvotes: 1

Views: 2498

Answers (1)

Matej Soroka
Matej Soroka

Reputation: 41

Problem solved, hunspell folder should be in /etc/elasticsearch, not in /usr/share/elasticsearch

/etc/elasticsearch/hunspell
-- sk_SK
---- sk_SK.aff
---- sk_SK.dic

also I had to change permissions for /etc/elasticsearch directory

Upvotes: 3

Related Questions