Add migration note for hunspell dictionaries
This commit is contained in:
parent
01d6f0dc1d
commit
4b3672b7df
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
Basic support for hunspell stemming. Hunspell dictionaries will be
|
Basic support for hunspell stemming. Hunspell dictionaries will be
|
||||||
picked up from a dedicated hunspell directory on the filesystem
|
picked up from a dedicated hunspell directory on the filesystem
|
||||||
(defaults to `<path.conf>/hunspell`). Each dictionary is expected to
|
(`<path.conf>/hunspell`). Each dictionary is expected to
|
||||||
have its own directory named after its associated locale (language).
|
have its own directory named after its associated locale (language).
|
||||||
This dictionary directory is expected to hold a single `*.aff` and
|
This dictionary directory is expected to hold a single `*.aff` and
|
||||||
one or more `*.dic` files (all of which will automatically be picked up).
|
one or more `*.dic` files (all of which will automatically be picked up).
|
||||||
|
@ -19,10 +19,6 @@ following directory layout will define the `en_US` dictionary:
|
||||||
| | |-- en_US.aff
|
| | |-- en_US.aff
|
||||||
--------------------------------------------------
|
--------------------------------------------------
|
||||||
|
|
||||||
The location of the hunspell directory can be configured using the
|
|
||||||
`indices.analysis.hunspell.dictionary.location` settings in
|
|
||||||
_elasticsearch.yml_.
|
|
||||||
|
|
||||||
Each dictionary can be configured with one setting:
|
Each dictionary can be configured with one setting:
|
||||||
|
|
||||||
`ignore_case`::
|
`ignore_case`::
|
||||||
|
@ -91,9 +87,9 @@ the stemming is determined by the quality of the dictionary.
|
||||||
[float]
|
[float]
|
||||||
==== Dictionary loading
|
==== Dictionary loading
|
||||||
|
|
||||||
By default, the configured (`indices.analysis.hunspell.dictionary.location`)
|
By default, the default Hunspell directory (`config/hunspell/`) is checked
|
||||||
or default Hunspell directory (`config/hunspell/`) is checked for dictionaries
|
for dictionaries when the node starts up, and any dictionaries are
|
||||||
when the node starts up, and any dictionaries are automatically loaded.
|
automatically loaded.
|
||||||
|
|
||||||
Dictionary loading can be deferred until they are actually used by setting
|
Dictionary loading can be deferred until they are actually used by setting
|
||||||
`indices.analysis.hunspell.dictionary.lazy` to `true`in the config file.
|
`indices.analysis.hunspell.dictionary.lazy` to `true`in the config file.
|
||||||
|
|
|
@ -458,3 +458,8 @@ there is not enough disk space to complete this migration, the upgrade will be
|
||||||
cancelled and can only be resumed once enough disk space is made available.
|
cancelled and can only be resumed once enough disk space is made available.
|
||||||
|
|
||||||
The `index.store.distributor` setting has also been removed.
|
The `index.store.distributor` setting has also been removed.
|
||||||
|
|
||||||
|
=== Hunspell dictionary configuration
|
||||||
|
|
||||||
|
The parameter `indices.analysis.hunspell.dictionary.location` has been removed,
|
||||||
|
and `<path.conf>/hunspell` is always used.
|
||||||
|
|
Loading…
Reference in New Issue