cdict.dictionaryDelete( lang as String, [tokenization as Boolean] ) as null
Delete a custom dictionary.
custom-dictionary-admin
or the
following privileges:
http://marklogic.com/xdmp/privileges/custom-dictionary-admin
If your language configure uses user-defined lexer and/or stemmer plugins, you can define additional privileges for finer control. For details, see Custom Dictionary Security Considerations in the Search Developer's Guide.
const cdict = require('/MarkLogic/custom-dictionary'); cdict.dictionaryDelete('en');
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.