Skip to content

Commit 1b8c3de

Browse files
frossi933MitchC1999kimwoodfield
authored
TCLOUD-4598: Modify Spelling Custom Dictionaries docs to match current logs (#3606)
* TCLOUD-4598: Modify spelling custom dictionaries docs to match the current logs * Update modules/ROOT/pages/custom-dictionaries-for-tiny-spellchecker.adoc Co-authored-by: Kim Woodfield <[email protected]> --------- Co-authored-by: Mitchell Crompton <[email protected]> Co-authored-by: Kim Woodfield <[email protected]>
1 parent f451436 commit 1b8c3de

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

modules/ROOT/pages/custom-dictionaries-for-tiny-spellchecker.adoc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,31 @@ include::partial$misc/dynamic-custom-dictionaries.adoc[]
3838

3939
== Verifying custom dictionary functionality
4040

41-
If successfully configured, the custom dictionary feature will report dictionaries found in the application server's log at service startup.
41+
If successfully configured, the custom dictionary feature will report dictionaries found in the application server's log at service startup when using Static Custom Dictionaries.
4242

4343
Example:
4444

4545
[source,log]
4646
----
47-
2017-06-12 17:46:00 [main] INFO com.ephox.ironbark.IronbarkBoot - Starting task (booting Ironbark)
48-
2017-06-12 17:46:00 [main] INFO com.ephox.ironbark.IronbarkBoot - using custom dictionary: [global] = 1 words
49-
2017-06-12 17:46:00 [main] INFO com.ephox.ironbark.IronbarkBoot - using custom dictionary: "en" = 3 words
50-
2017-06-12 17:46:00 [main] INFO com.ephox.ironbark.IronbarkBoot - using custom dictionary: "fr" = 2 words
51-
2017-06-12 17:46:01 [main] INFO com.ephox.ironbark.IronbarkBoot - Finished task (booting Ironbark)
47+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: [global] = 2 words in engine Hunspell
48+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: [global] = 2 words in engine WinterTree
49+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: en-US = 4 words in engine Hunspell
50+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: en-US = 4 words in engine WinterTree
51+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: fr = 3 words in engine Hunspell
52+
INFO c.e.i.d.StaticCustomDictionaries$ - Using custom dictionary: fr = 3 words in engine WinterTree
5253
----
5354

54-
The above log shows that 3 custom dictionaries were found, one "global", language-independent one and one each for English and French. They were found to contain 1, 3 and 2 words, respectively. Please check that this report matches your expectations.
55+
The above log shows that 3 custom dictionaries were found, one "global", language-independent one and one each for English and French. They were found to contain 2, 4 and 3 words, respectively. In this case, Dynamic Custom Dictionaries feature is disabled and Hunspell was included. Please check that this report matches your expectations.
56+
57+
When enabling Dynamic Custom Dictionaries, similar logs as follows will be shown on every request matching the language of the custom dictionary:
58+
59+
[source,log]
60+
----
61+
INFO c.e.s.c.CachedCustomDictionaries$ - Using custom dictionary: [global] = 2 words in engine Hunspell
62+
INFO c.e.s.c.CachedCustomDictionaries$ - Using custom dictionary: en-US = 1 words in engine Hunspell
63+
----
64+
65+
The above log shows that the custom dictionary for English was found to contain 1 word.
5566

5667
== Ongoing dictionary maintenance
5768

0 commit comments

Comments
 (0)