Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/northys/ansible-role-elasticsearch-hunspell
Ansible Role for Elasticsearch's hunspell dictionaries
https://github.com/northys/ansible-role-elasticsearch-hunspell
ansible ansible-role provisioning
Last synced: 20 days ago
JSON representation
Ansible Role for Elasticsearch's hunspell dictionaries
- Host: GitHub
- URL: https://github.com/northys/ansible-role-elasticsearch-hunspell
- Owner: northys
- Created: 2017-04-30T12:38:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-04-30T12:54:44.000Z (over 7 years ago)
- Last Synced: 2025-01-03T03:55:30.962Z (21 days ago)
- Topics: ansible, ansible-role, provisioning
- Homepage: https://galaxy.ansible.com/Northys/elasticsearch-hunspell/
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Role: Elasticsearch Hunspell
Clones [repository with dictonaries](https://github.com/titoBouzout/Dictionaries.git) and copies selected languages into elasticsearch config directory.
## Role Variables
```
hunspell_dictionary_clone_path: /tmp/northys.hunspell
```
A path where repository will be cloned. Can be changed to something like `/home/elasticsearch` if you don't want to clone it each system reboot.```
hunspell_dictionary_path: /etc/elasticsearch/hunspell
```A path where Elasticsearchs expects hunspell dictionaries.
```
hunspell_dictionaries: # language_code is path for elastic, language_file is filename in the repository
- { language_code: cs_CZ, language_file: Czech}
```A list of languages to copy into Elasticsearch hunspell directory. You have to specify language file name (without extension!), because the repository does not use ISO language codes.