Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.8] [DOCS] Remove Hunspell dictionaries location config (#82704) #82964

Merged
merged 1 commit into from
Jan 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@

Basic support for hunspell stemming. Hunspell dictionaries will be
picked up from a dedicated hunspell directory on the filesystem
(`<path.conf>/hunspell`). Each dictionary is expected to
(`<$ES_PATH_CON>/hunspell`). Each dictionary is expected to
have its own directory named after its associated locale (language).
This dictionary directory is expected to hold a single `*.aff` and
one or more `*.dic` files (all of which will automatically be picked up).
For example, assuming the default hunspell location is used, the
following directory layout will define the `en_US` dictionary:
For example, the following directory layout will define the `en_US` dictionary:

[source,txt]
--------------------------------------------------
Expand Down Expand Up @@ -72,9 +71,7 @@ The hunspell token filter accepts four options:
`language` are used instead - so one of these has to be set.

`dictionary`::
The name of a dictionary. The path to your hunspell
dictionaries should be configured via
`indices.analysis.hunspell.dictionary.location` before.
The name of a dictionary.

`dedup`::
If only unique terms should be returned, this needs to be
Expand All @@ -91,7 +88,7 @@ the stemming is determined by the quality of the dictionary.
[float]
==== Dictionary loading

By default, the default Hunspell directory (`config/hunspell/`) is checked
By default, the Hunspell directory (`<$ES_PATH_CON>/hunspell/`) is checked
for dictionaries when the node starts up, and any dictionaries are
automatically loaded.

Expand Down