Hi,
I want to add new word in spellchecker dictionary which is available in cq "/libs/cq/spellchecker/dictionaries/en_us.dic". It works for existing words, but if i add new word in that file, it doesn't showing newly added word in suggestion.
My text component is configured with rtePlugins - spellchecker.
Please let me know you answers or suggestions
Solved! Go to Solution.
Views
Replies
Total Likes
AFAIK the dictionaries used by spellcheck are loaded once and cached in memory. There is no mechanism to clear this out if the user add new entries to the dictionary.
Restart the instance to get the new entry added & verify
Views
Replies
Total Likes
AFAIK the dictionaries used by spellcheck are loaded once and cached in memory. There is no mechanism to clear this out if the user add new entries to the dictionary.
Restart the instance to get the new entry added & verify
Views
Replies
Total Likes
Hi Sham,
I tried restarting the CQ5 instance. But it doesn't work for me
Views
Replies
Total Likes
Sham,
Please read this https://docs.adobe.com/docs/en/crx/2-3/developing/searching_in_crx.html. It look like it never uses those dic and aff file.. because see the line...
The Lucene-based query handler implementation supports a pluggable spell checker mechanism. By default, spell checking is not available and you must configure it first. See http://wiki.apache.org/jackrabbit/SpellChecker. The spell checker is not based on a dictionary, but instead is derived from the fulltext indexed content of the workspace. It updates automatically based on a configurable refresh interval. so no matter you add a word clear cache or restart the system...you not see that.
thanks,
Chandra
Views
Replies
Total Likes