Adobe CQ5.6 Spellchecker Dictionary | Community
Skip to main content
vikramca06
Level 4
October 16, 2015
Solved

Adobe CQ5.6 Spellchecker Dictionary

  • October 16, 2015
  • 3 replies
  • 1644 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

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

3 replies

vikramca06
Level 4
October 16, 2015

Hi Sham,

I tried restarting the CQ5 instance. But it doesn't work for me

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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

Chandra_gupta
Level 4
July 27, 2016

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