Browse Source

Add migration note for hunspell dictionaries

Robert Muir 10 years ago
parent
commit
4b3672b7df

+ 4 - 8
docs/reference/analysis/tokenfilters/hunspell-tokenfilter.asciidoc

@@ -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`)
-or default Hunspell directory (`config/hunspell/`) is checked for dictionaries
-when the node starts up, and any dictionaries are automatically loaded.
+By default, the default Hunspell directory (`config/hunspell/`) is checked 
+for dictionaries when the node starts up, and any dictionaries are 
+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.

+ 5 - 0
docs/reference/migration/migrate_2_0.asciidoc

@@ -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.